mod

module
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2024 License: BSD-3-Clause

README

mod

PkgGoDev

This repository holds packages for writing tools that 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 that need to do things like load packages in module mode. That use case, where modules are incidental rather than the focus, should remain in x/tools, specifically x/tools/go/packages.

The specific case of loading packages should still be done by invoking the go command, which remains the single point of truth 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL