mod
moduleThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
README¶
mod
This repository holds packages for writing toolsthat work directly with Go module mechanics.That is, it is for direct manipulation of Go modules themselves.
It is NOT about supporting general development tools thatneed to do things like load packages in module mode.That use case, where modules are incidental rather than the focus,should remain inx/tools,specificallyx/tools/go/packages.
The specific case of loading packages should still be done byinvoking the go command, which remains the single point oftruth for package loading algorithms.
Directories¶
Path | Synopsis |
---|---|
Gosumcheck checks a go.sum file against a go.sum database server. | Gosumcheck checks a go.sum file against a go.sum database server. |
internal | |
lazyregexp Package lazyregexp is a thin wrapper over regexp, allowing the use of global regexp variables without forcing them to be compiled at init. | Package lazyregexp is a thin wrapper over regexp, allowing the use of global regexp variables without forcing them to be compiled at init. |
Package modfile implements a parser and formatter for go.mod files. | Package modfile implements a parser and formatter for go.mod files. |
Package module defines the module.Version type along with support code. | Package module defines the module.Version type along with support code. |
Package semver implements comparison of semantic version strings. | Package semver implements comparison of semantic version strings. |
Package sumdb implements the HTTP protocols for serving or accessing a module checksum database. | Package sumdb implements the HTTP protocols for serving or accessing a module checksum database. |
dirhash Package dirhash defines hashes over directory trees. | Package dirhash defines hashes over directory trees. |
note Package note defines the notes signed by the Go module database server. | Package note defines the notes signed by the Go module database server. |
storage Package storage defines storage interfaces for and a basic implementation of a checksum database. | Package storage defines storage interfaces for and a basic implementation of a checksum database. |
tlog Package tlog implements a tamper-evident log used in the Go module go.sum database server. | Package tlog implements a tamper-evident log used in the Go module go.sum database server. |
Package zip provides functions for creating and extracting module zip files. | Package zip provides functions for creating and extracting module zip files. |