Package urlesc implements query escaping as per RFC 3986. It contains some parts of the net/url package, modified so as to allow some reserved characters incorrectly escaped by net/url.
Package strcase converts between different kinds of naming formats such as camel case (CamelCase), snake case (snake_case) or kebab case (kebab-case). The package is designed to work only with strings consisting of standard ASCII letters.
Pebble is a LevelDB/RocksDB inspired key-value store focused on performance and internal usage by CockroachDB. Pebble inherits the RocksDB file formats and a few extensions such as range deletion tombstones, table-level bloom filters, and updates to the MANIFEST format.
This package provides a Go implementation of the Varlink protocol, a protocol for inter-process communication. Varlink utilizes a plain-text, JSON-based format for messages and is designed to be accessible to both humans and machines.
Package filepathx adds double-star globbing support to the Glob function from the core path/filepath package. You might recognize "**" recursive globs from things like your .gitignore file, and zsh. The "**" glob represents a recursive wildcard matching zero-or-more directory levels deep.
This package implements much of the decimal specification from the General Decimal Arithmetic description. This is the same specification implemented by Python’s decimal module and GCC’s decimal extension.
This package implements a functionality for fitting statistical model. Additional Go packages include glm for Generalized Liner Models and duration for survival analysis. All models can be fit with maximum (or quasi-maximum) likelihood estimation, with optional L1 (Lasso) or L2 (ridge) penalization.
This package is a brotli compressor and decompressor implemented in Go. It was translated from the reference implementation (https://github.com/google/brotli) with the c2go tool at https://github.com/andybalholm/c2go.
Yamux (Yet another Multiplexer) is a multiplexing library for Golang. It relies on an underlying connection to provide reliability and ordering, such as TCP or Unix domain sockets, and provides stream-oriented multiplexing. It is inspired by SPDY but is not interoperable with it.
Yamux (Yet another Multiplexer) is a multiplexing library for Golang. It relies on an underlying connection to provide reliability and ordering, such as TCP or Unix domain sockets, and provides stream-oriented multiplexing. It is inspired by SPDY but is not interoperable with it.
This package provides ciinfo, a tool to get details about the current Continuous Integration environment, including checking if running in a CI system, which CI system, build id, and more.
This is a reimplementation of ci-info in Go.
The yaml package enables Golang programs to comfortably encode and decode YAML values. It was developed within Canonical as part of the juju project, and is based on a pure Golang port of the libyaml C library to parse and generate YAML data quickly and reliably.
This package implements a functionality of managing the registration, marshaling, and unmarshaling of encoded types. It helps when types are sent over a ttrpc/GRPC API and marshaled as a protobuf Any.
Package decimal implements an arbitrary precision fixed-point decimal. Features:
the zero-value is 0, and is safe to use without initialization
addition, subtraction, multiplication with no loss of precision
division with specified precision
database/sql serialization/deserialization
JSON and XML serialization/deserialization
This package implements io.ReaderAt that makes HTTP Range Requests. It can be used for example with "archive/zip" package in Go standard library. Together they can be used to access remote (HTTP accessible) ZIP archives without needing to download the whole archive file.
cpuid provides information about the CPU running the current program. CPU features are detected on startup, and kept for fast access through the life of the application. Currently x86 / x64 (AMD64) is supported, and no external C (cgo) code is used, which should make the library very eas to use.
This package implements a functionality to modify/update field tags in structs making it easy to update, add or delete the tags in a struct field with possibility to add and remove tag options. It's intended to be used by an editor, but also has modes to run it from the terminal.
Diskv (disk-vee) is a simple, persistent key-value store written in the Go language. It starts with a simple API for storing arbitrary data on a filesystem by key, and builds several layers of performance-enhancing abstraction on top. The end result is a conceptually simple, but highly performant, disk-backed storage system.
go-cache is an in-memory key:value store/cache similar to Memcached that is suitable for applications running on a single machine. Its major advantage is that, being essentially a thread-safe map[string]interface with expiration times, it doesn't need to serialize or transmit its contents over the network.
This is an IPLD ADL that provides string based pathing for protobuf nodes. The top level node behaves like a map where LookupByString returns the Hash property on the Link in the protobufs list of Links whos Name property matches the key. This should enable selector traversals that work based of paths.
Package jsonschema uses reflection to generate JSON Schemas from Go types.
Features:
supports arbitrarily complex types, including interface, maps, slices, etc.
supports json-schema features such as minLength, maxLength, pattern, format, etc.
supports simple string and numeric enums
supports custom property fields via the jsonschema_extras struct tag
winquit is a golang module that supports graceful shutdown of Windows applications through the sending and receiving of Windows quit events on Win32 message queues. This allows golang applications to implement behavior comparable to SIGTERM signal handling on UNIX derived systems. Additionally, it supports the graceful shutdown mechanism employed by Windows system tools, such as taskkill.exe.
This package implements a functionality to configure Go's pprof features and default HTTP mux using the environment variable GOPPROF. envpprof has an init function that will run at process initialization that checks the value of the GOPPROF environment variable. The variable can contain a comma-separated list of values, for example GOPPROF=http,block.
wazero is a WebAssembly Core Specification 1.0 and https://www.w3.org/TR/2022/WD-wasm-core-2-20220419/,2.0 compliant runtime. It has zero dependencies, and doesn't rely on CGO. This means you can run applications in other languages and still keep cross compilation.