go-internal: github.com/rogpeppe/go-internal


cachePackage cache implements a build artifact cache.
cmd/txtar-addmodThe txtar-addmod command adds a module as a txtar archive to the a testdata module directory as understood by the goproxytest package (see https://godoc.org/github.com/rogpeppe/go-internal/goproxytest).
cmd/txtar-cThe txtar-c command archives a directory tree as a txtar archive printed to standard output.
cmd/txtar-goproxyThe txtar-goproxy command runs a Go module proxy from a txtar module directory (as manipulated by the txtar-addmod command).
cmd/txtar-xThe txtar-x command extracts a txtar archive to a filesystem.
dirhashPackage dirhash defines hashes over directory trees.
fmtsortPackage fmtsort provides a general stable ordering mechanism for maps, on behalf of the fmt and text/template packages.
goproxytestPackage goproxytest serves Go modules from a proxy server designed to run on localhost during tests, both to make tests avoid requiring specific network servers and also to make them significantly faster.
gotooltestPackage gotooltest implements functionality useful for testing tools that use the go command.
internal/textutilpackage textutil contains text processing utilities.
lockedfilePackage lockedfile creates and manipulates files whose contents should only change atomically.
lockedfile/internal/filelockPackage filelock provides a platform-independent API for advisory file locking.
modfilePackage modfile implements parsing and formatting for go.mod files.
modulePackage module defines the module.Version type along with support code.
parPackage par implements parallel execution helpers.
renameioPackage renameio writes files atomically by renaming temporary files.
semverPackage semver implements comparison of semantic version strings.
testenvPackage testenv provides information about what functionality is available in different testing environments run by the Go team.
testscriptPackage testscript provides support for defining filesystem-based tests by creating scripts in a directory.
txtarPackage txtar implements a trivial text-based file archive format.

Updated 2019-05-17. Refresh now. Tools for package owners.