go

module
v0.0.0-alpha.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2025 License: Apache-2.0

README

Go standard library extensions

This repository provides extensional APIs for the Go standard library.

GoDoc Go Report Card License

Codecov Test Suite Check Suite OpenSourceInsight OSS Insight

AI generated docs are available at:

Usage

This project is provided as a Go module.

Use go command to use from your project.

go get github.com/aileron-projects/go@latest
go mod tidy

Key Features

Package Dependency Policy

Package structure, or directory structure, basically follows the Go standard library.

All packages in this repository are allowed to use

A package can contain package of higher-level APIs in its subdirectories. Higher level APIs can use lower level APIs. That means a package can use parent packages and cannot use child packages.

For example, in the following package structure,

  • package lowapi cannot use neither middleapi nor highapi
  • package middleapi can use lowapi and cannot use highapi
  • package highapi can use both lowapi and middleapi
lowapi/  <────────┐  <──┐
│                 |     |
└── middleapi/  ──┘  <──┤
    │                   |
    └── highapi/  ──────┘

Rules for internal packages follow the Go specification.

Tested Environment

Operating System:

Go:

  • Current Stable: go 1.(N).x
  • Previous Stable: go 1.(N-1).x
  • Minimum Requirement: go 1.(N-2).0

Where N is the current latest minor version. See the Go official release page Stable versions.

In addition to the environment above, following platforms are tested on ubuntu using QEMU User space emulator.

  • amd64
  • arm/v5
  • arm/v6
  • arm/v7
  • arm64
  • ppc64
  • ppc64le
  • riscv64
  • s390x
  • loong64
  • 386
  • mips
  • mips64
  • mips64le
  • mipsle

Release Cycle

  • Releases are made as needed.
  • Versions follow Semantic Versioning.
    • vX.Y.Z
    • vX.Y.Z-rc.N
    • vX.Y.Z-beta.N
    • vX.Y.Z-alpha.N

License

Apache 2.0

Directories

Path Synopsis
devtools
docs
zcrypto
zaes
Package zaes provides functionality for AES encryption/decryption.
Package zaes provides functionality for AES encryption/decryption.
zdes
Package zdes provides functionality for DES and 3DES encryption/decryption.
Package zdes provides functionality for DES and 3DES encryption/decryption.
zencoding
zerrors provides additional features to standard errors package.
zerrors provides additional features to standard errors package.
zslog
zslog provides extensional logging features to the standard log/slog package.
zslog provides extensional logging features to the standard log/slog package.
zdebug
zdebug provides additional features of standard runtime/debug package.
zdebug provides additional features of standard runtime/debug package.
ztime
zx
zlb
Package zlb provides load balancers.
Package zlb provides load balancers.
zuid
package zid provides some unique ID sources.
package zid provides some unique ID sources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL