...

Directory /src/github.com/rogpeppe/go-internal

Name Synopsis
..
cache Package cache implements a build artifact cache.
cmd
testscript
txtar-addmod The 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).
txtar-c The txtar-c command archives a directory tree as a txtar archive printed to standard output.
txtar-goproxy The txtar-goproxy command runs a Go module proxy from a txtar module directory (as manipulated by the txtar-addmod command).
txtar-x The txtar-x command extracts a txtar archive to a filesystem.
diff
dirhash Package dirhash defines hashes over directory trees.
fmtsort Package fmtsort provides a general stable ordering mechanism for maps, on behalf of the fmt and text/template packages.
goproxytest Package 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.
gotooltest Package gotooltest implements functionality useful for testing tools that use the go command.
imports
lockedfile Package lockedfile creates and manipulates files whose contents should only change atomically.
modfile Package modfile implements parsing and formatting for go.mod files.
module Package module is a thin forwarding layer on top of golang.org/x/mod/module.
par Package par implements parallel execution helpers.
renameio Package renameio writes files atomically by renaming temporary files.
robustio Package robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout.
semver Package semver is a thin forwarding layer on top of golang.org/x/mod/semver.
testenv Package testenv provides information about what functionality is available in different testing environments run by the Go team.
testscript Package testscript provides support for defining filesystem-based tests by creating scripts in a directory.
txtar Package txtar implements a trivial text-based file archive format.