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.
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.
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.
@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.
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.
GopherJS compiles Go code (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.
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.
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.
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.
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.
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.
This package generates UUID-format strings using high quality bytes. It is not intended to be RFC compliant, merely to use a well-understood string representation of a 128-bit value. It can also parse UUID-format strings into their component bytes.
Package leaktest provides tools to detect leaked goroutines in tests. To use it, call "defer leaktest.Check(t)()" at the beginning of each test that may use goroutines. copied out of the cockroachdb source tree with slight modifications to be more re-useable
Accelerate SHA256 computations in pure Go using AVX512, SHA Extensions for x86 and ARM64 for ARM. On AVX512 it provides an up to 8x improvement (over 3 GB/s per core). SHA Extensions give a performance boost of close to 4x over native.
This package exposes a registry of data types to support string formats in the go-openapi
toolkit. strfmt
represents a well known string format such as credit card or email. The Go toolkit for OpenAPI specifications knows how to deal with those.
The cmdtest package simplifies testing of command-line interfaces. It provides a simple, cross-platform, shell-like language to express command execution. It can compare actual output with the expected output, and can also update a file with new "golden" output that is deemed correct.
This package implements a functionality to generate barcodes.
Supported Barcode Types:
2 of 5
Aztec Code
Codabar
Code 128
Code 39
Code 93
Datamatrix
EAN 13
EAN 8
PDF 417
QR Code
This package implements functionality for encoding and decoding Concise Binary Object Representation (RFC 8949) and CBOR Sequences, with CBOR tags, Golang struct tags (toarray
, keyasint
, omitempty
), float64/32/16
, and big.Intp
.
Package terminal is a vt10x terminal emulation backend, influenced largely by st
, rxvt
, xterm
, and iTerm
as reference. Use it for terminal muxing, a terminal emulation frontend, or wherever else you need terminal emulation.
It's an active fork of https://github.com/james4k/terminal.
This package provides a Golang library for parsing Intel HEX files, implementing features like:
robust intelhex parsing (full test coverage)
support i32hex format
two-way converting hex<->bin
trivial but powerful api (only the most commonly used functions)
interface-based IO functions