go-internal – github.com/rogpeppe/go-internal Directories

go-internal/ directory

Directories

PathSynopsis
cachePackage cache implements a build artifact cache.
cmd
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-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.
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
lockedfilePackage lockedfile creates and manipulates files whose contents should only change atomically.
lockedfile/internal
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.
Version
v1.3.0
Published
Apr 3, 2019
Platform
windows/amd64
Last checked
now

Tools for package owners.