Directories ¶
Path | Synopsis |
---|---|
Package assert provides test assertion helpers.
|
Package assert provides test assertion helpers. |
Package cmdlog implements color leveled logging for command line tools.
|
Package cmdlog implements color leveled logging for command line tools. |
package diff contains diff generation helpers, particularly useful for tests.
|
package diff contains diff generation helpers, particularly useful for tests. |
Package go2 contains general utility helpers that should've been in Go.
|
Package go2 contains general utility helpers that should've been in Go. |
Package mapfs takes in a description of a filesystem as a map[string]string and writes it to a temp directory so that it may be used as an io/fs.FS.
|
Package mapfs takes in a description of a filesystem as a map[string]string and writes it to a temp directory so that it may be used as an io/fs.FS. |
Package xcontext implements indispensable context helpers.
|
Package xcontext implements indispensable context helpers. |
Package xdefer implements an extremely useful function, Errorf, to annotate all errors returned from a function transparently.
|
Package xdefer implements an extremely useful function, Errorf, to annotate all errors returned from a function transparently. |
Package xhttp implements http helpers.
|
Package xhttp implements http helpers. |
Package xjson implements JSON helpers.
|
Package xjson implements JSON helpers. |
flag_helpers.go are private functions from pflag/flag.go
|
flag_helpers.go are private functions from pflag/flag.go |
Package xos provides useful os helpers.
|
Package xos provides useful os helpers. |
Package xrand provides helpers for generating useful random values.
|
Package xrand provides helpers for generating useful random values. |
Click to show internal directories.
Click to hide internal directories.