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

Directories

PathSynopsis
cachePackage cache implements a build artifact cache.
cmd/testscript
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-goproxyThe txtar-goproxy command runs a Go module proxy from a txtar module directory (as manipulated by the txtar-addmod command).
cmd/txtar-savedirThe txtar-savedir command archives a directory tree as a txtar archive printed to standard output.
cmd/txtar-xThe txtar-x command extracts a txtar archive to a filesystem.
dirhashPackage dirhash defines hashes over directory trees.
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.
imports
internal/os/execpath
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-02-14. Refresh now. Tools for package owners.