Hjson is a syntax extension to JSON. It is intended to be used like a user interface for humans, to read and edit before passing the JSON data to the machine.
This package provides realpath, a Go module that when provided with a valid relative path / alias path, it will return you with a string of its real absolute path in the system.
This package is a simple Go library that provides retry functionality for functions that may fail. It includes various customizable retry strategies, such as fixed delay, backoff delay, and random delay.
This package is a simple Go library that provides retry functionality for functions that may fail. It includes various customizable retry strategies, such as fixed delay, backoff delay, and random delay.
combinator generates a slice of all possible value combinations for any given struct and a set of its potential member values. This can be used to generate extensive test matrixes among other things.
This is a simple adapter to plug in cockroachdb/pebble as a backend anywhere that accepts a go-datastore.
This package provides a Go package to intelligently and flexibly pool among multiple hosts from your Go application. Host selection can operate in round robin or epsilon greedy mode, and unresponsive hosts are avoided.
Package fastdiv implements fast division, modulus and divisibility checks for divisors known only at runtime based on paper: Faster Remainder by Direct Computation: Applications to Compilers and Software Libraries.
Groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases. It provides a data loading mechanism with caching and de-duplication that works across a set of peer processes.
Porter2 implements the english Porter2 stemmer. It is written completely using finite state machines to do suffix comparison, rather than the string-based or tree-based approaches.
Package colour provides Quake-style colour formatting for Unix terminals. The package level functions can be used to write to stdout (or strings or other files). If stdout is not a terminal, colour formatting will be stripped.
GopherJS compiles Go code (@urlhttps://golang.org/,golang.org) to pure JavaScript code. Its main purpose is to give you the opportunity to write front-end code in Go which will still run in all browsers.
This library supports the parsing and verification as well as the generation and signing of JWTs. Current supported signing algorithms are HMAC SHA, RSA, RSA-PSS, and ECDSA, though hooks are present for adding your own.
@urlhttps://esbuild.github.io/,Website | @urlhttps://esbuild.github.io/getting-started/,Getting started | @urlhttps://esbuild.github.io/api/,Documentation | @urlhttps://esbuild.github.io/plugins/,Plugins | @urlhttps://esbuild.github.io/faq/,FAQ.
clock is a small library for mocking time in Go. It provides an interface around the standard library's time package so that the application can use the realtime clock while tests can use the mock clock.
Package templatecheck checks Go templates for problems. It can detect many errors that are normally caught only during execution. Use templatecheck in tests to find template errors early, and along template execution paths that might only rarely be reached.
This package provides an expect-like interface to automate control of applications. It is unlike expect in that it does not spawn or manage process lifecycle. This package only focuses on expecting output and sending input through it's pseudoterminal.
Package expect provides an expect-like interface to automate control of applications. It is unlike expect in that it does not spawn or manage process lifecycle. This package only focuses on expecting output and sending input through it's psuedoterminal.
This package provides cross-platform Golang helpers for taking user input from the terminal while not echoing the input back (similar to getpasswd). The package uses syscalls to avoid any dependence on cgo, and is therefore compatible with cross-compiling.
The flags package provides a command line option parser. The functionality is similar to the go builtin flag package, but flags provides more options and uses reflection to provide a succinct way of specifying command line options.
goconfig is a Go library for parsing configuration files that have the same syntax as .gitconfig files. It understands multiple values configuration, and can parse configurations include via include.path directives. includeIf.*.path directives are not supported yet.
Package crawlspace provides a means to dynamically interact with registered Go objects in a live process, using small scripting language based around the reflect package inspired by Twisted's manhole library .
Package expect provides an expect-like interface to automate control of applications. It is unlike expect in that it does not spawn or manage process lifecycle. This package only focuses on expecting output and sending input through it's psuedoterminal.