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.
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
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.
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.
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
This package provides a simple key/value logging interface for Golang for use in development and production environments. Unlike the standard library log
package, this package provides logging levels that provide decreased output based upon the desired amount of output. It also comes with a command-line program hclogvet
that can be used to check that the logging level methods on hclog.Logger
are used correctly.
This package was initially based on the pure go BLAKE2b implementation of Dmitry Chestnykh and merged with the (cgo dependent) AVX optimized BLAKE2 implementation (which in turn is based on the official implementation. It does so by using Go's Assembler for amd64 architectures with a golang only fallback for other architectures.
In addition to AVX there is also support for AVX2 as well as SSE. Best performance is obtained with AVX2 which gives roughly a 4X performance increase approaching hashing speeds of 1GB/sec on a single core.
Package mnemonicode.
Simple request logging in Go
Package sanitize provides functions for sanitizing text.
This package provides a cancelable reader for Go.
This package provides a Golang Matrix client.