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 a Go library for generating, decoding, and encrypting JSON Web Tokens (JWT). It relies only on the standard library.
This package provides an implementation of JSON Schema for the Go programming language, which supports draft-04, draft-06 and draft-07.
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.
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).
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.
lru
is a package which implements a fixed-size thread safe Least recently used cache. It is based on the cache in Groupcache.
Package gax contains a set of modules which aid the development of APIs for clients and servers based on gRPC and Google API conventions.
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
Package linebreak wraps text at a given width, it's a translation of linear, an implementation of SMAWK algorithm.
This package is a library for parsing versions and version constraints, and verifying versions against a set of constraints. It can sort a collection of versions properly, handles prerelease/beta versions, can increment versions.
The zapx module is fork of zap module which maintains file format compatibility, but removes dependency on bleve, and instead depends only on the independent interface modules:
The zapx module is fork of zap module which maintains file format compatibility, but removes dependency on bleve, and instead depends only on the independent interface modules:
The zapx module is fork of zap module which maintains file format compatibility, but removes dependency on bleve, and instead depends only on the independent interface modules:
The zapx module is fork of zap module which maintains file format compatibility, but removes dependency on bleve, and instead depends only on the independent interface modules: