Directories ¶
Path | Synopsis |
---|---|
assert provides various assertion functions that can be used to confirm certain conditions such that these conditions are guaranteed true afterwards.
|
assert provides various assertion functions that can be used to confirm certain conditions such that these conditions are guaranteed true afterwards. |
encoding contains all encodings.
|
encoding contains all encodings. |
bytes
bytes contains all encodings that encode to, and decode from, (raw) bytes.
|
bytes contains all encodings that encode to, and decode from, (raw) bytes. |
bytes/bigendian
FIXME this is redundant: "binary".BigEndian provides the same functionality (mostly).
|
FIXME this is redundant: "binary".BigEndian provides the same functionality (mostly). |
bytes/compactsize
TODO return uint8 as we are guaranteed to read at most 9 bytes for a decode.
|
TODO return uint8 as we are guaranteed to read at most 9 bytes for a decode. |
bytes/littleendian
FIXME this is redundant: "binary".LittleEndian provides the same functionality (mostly).
|
FIXME this is redundant: "binary".LittleEndian provides the same functionality (mostly). |
bytes/prefixed-compact
## Specification: "prefixed-compact"
|
## Specification: "prefixed-compact" |
bytes/varint
Bitcoin VarInt encoding, used internally in Bitcoin Core.
|
Bitcoin VarInt encoding, used internally in Bitcoin Core. |
string
string contains (generally) binary-to-text codecs.
|
string contains (generally) binary-to-text codecs. |
string/base58
base58 is a binary-to-text codec that encodes into a ASCII/ANSI-string (single bytes) and decodes back to the original data in binary.
|
base58 is a binary-to-text codec that encodes into a ASCII/ANSI-string (single bytes) and decodes back to the original data in binary. |
string/digit
digit contains textual (string) representations of digits.
|
digit contains textual (string) representations of digits. |
TODO consider including `golang.org/x/exp` extended library (<https://cs.opensource.google/go/x/exp>) TODO consider providing -- very sparingly -- functions in `/std` for importing directly into the current namespace.
|
TODO consider including `golang.org/x/exp` extended library (<https://cs.opensource.google/go/x/exp>) TODO consider providing -- very sparingly -- functions in `/std` for importing directly into the current namespace. |
builtin
builtin contains additional utility functions for built-in types of the Go programming languages.
|
builtin contains additional utility functions for built-in types of the Go programming languages. |
builtin/bitset
bitset is a package that provides a bit-wise set implementation for indexes/positions.
|
bitset is a package that provides a bit-wise set implementation for indexes/positions. |
builtin/multiset
Multiset is a map with uint-values that represents a set of elements with their respective number of elements.
|
Multiset is a map with uint-values that represents a set of elements with their respective number of elements. |
builtin/set
set is a map of keys with unit-values (`struct{}{}`).
|
set is a map of keys with unit-values (`struct{}{}`). |
errors
A concise error handling package that provides the mechanisms for creating a "root" error that is a basic instance of String/Uint/Int, and the ability to add stacktrace and context to the root error.
|
A concise error handling package that provides the mechanisms for creating a "root" error that is a basic instance of String/Uint/Int, and the ability to add stacktrace and context to the root error. |
log
log provides logging functions with level-prefixes and customized options.
|
log provides logging functions with level-prefixes and customized options. |
math/modular
modular provides arithmetic functions for modular arithmetic.
|
modular provides arithmetic functions for modular arithmetic. |
net/http
Package http contains utilities for the net/http package.
|
Package http contains utilities for the net/http package. |
runtime/pprof
pprof provides utilities for `runtime/pprof`.
|
pprof provides utilities for `runtime/pprof`. |
testing
testing contains assertions for use in unit tests.
|
testing contains assertions for use in unit tests. |
structure contains (composite) structures that represent basic, well-known concepts.
|
structure contains (composite) structures that represent basic, well-known concepts. |
Click to show internal directories.
Click to hide internal directories.