Chroma takes source code and other structured text and converts it into syntax highlighted HTML, ANSI-coloured text, etc.
Utilities to prettify console output of tables, lists, progress-bars, text, etc. with a heavy emphasis on customization.
because sync.Map is only available in go 1.9, we can use concurrent.Map to make code portable
Utilities to prettify console output of tables, lists, progress-bars, text, etc. with a heavy emphasis on customization.
This package provides Abstract Syntax Notation One BER encoding and decoding in the Go language.
This package implements JMESPath, a query language for JSON. It transforms one JSON document into another through a JMESPath expression.
This package provides a Go library for generating, decoding, and encrypting JSON Web Tokens (JWT). It relies only on the standard library.
This provides bidirectionally connected net.Conns, net.PacketConns made from socketpair(2) as well as bidirectionally connected net.TCPConns.
This package provides an implementation of JSON Schema for the Go programming language, which supports draft-04, draft-06 and draft-07.
This package provides an extension for https://github.com/urfave/cli, to read flag values from JSON, YAML, and TOML.
go-ipfs-ds-help provides utilities for parsing and creating datastore keys used by go-ipfs (Kubo).
Package testdeep allows flexible deep comparison, it is an adaptation of Perl's Test::Deep perl.
Package whirlpool implements the ISO/IEC 10118-3:2004 whirlpool cryptographic hash as specified in http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html.
This package provides an Authoritative DNS server and HTTP+libp2p API for distributing DNS subdomains with CA-signed TLS certificates to libp2p peers.
socketpair is a Go library that provides bidirectionally connected net.Conns, net.PacketConns made from socketpair(2) as well as bidirectionally connected net.TCPConns.
ansi defines common ANSI escape sequences based on the ECMA-48 specs.
This package provides string-matching based on BSD fnmatch.3. It is an updated clone of kballards golang fnmatch gist (https://gist.github.com/kballard/272720).
lru is a package which implements a fixed-size thread safe Least recently used cache. It is based on the cache in Groupcache.
This package provides functionality for detecting natural languages and scripts (writing systems). Languages are represented by a defined list of constants, while scripts are represented by RangeTable.
A Go library providing various concurrency utilities including a backport of sync.Map to Go versions below 1.9 and a cancellable Goroutine with explicit ownership.
Package sortedset provides the data-struct allowing a fast access the element in set by key or by score(order). It is inspired by Sorted Set from Redis.
Package blockservice implements a BlockService interface that provides a single GetBlock/AddBlock interface that seamlessly retrieves data either locally or from a remote peer through the exchange.
Package oglematchers provides a set of matchers useful in a testing or mocking framework. These matchers are inspired by and mostly compatible with Google Test for C++ and Google JS Test.
Assertion library that:
makes spotting differences in equality much easier
uses repr and diffmatchpatch to display structural differences in colour
aborts tests on first assertion failure