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.
This package implements a functionality for parsing, converting and validating OpenAPI v2.0, OpenAPI v3.0 and OpenAPI v3.1.
Package ff is a flags-first helper package for configuring programs.
The basic idea is that myprogram -h
should always show the complete configuration "surface area" of a program. Therefore, every config parameter should be defined as a flag. This module provides a simple and robust way to define those flags, and to parse them from command-line arguments, environment variables, and/or config files.
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.
Package markdown implements markdown parser and HTML renderer.
This package provides JSON equality assertions for Golang.
Package markdown implements markdown parser and HTML renderer.
This package provides a cancelable reader for Go.
Package oggvorbis decodes audio from ogg/vorbis files.
Package markdown implements markdown parser and HTML renderer.