Categorygolang.org/x/mod
module
0.22.0
Repository: https://go.googlesource.com/mod
Documentation: pkg.go.dev

# 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.

# Packages

Gosumcheck checks a go.sum file against a go.sum database server.
Package modfile implements a parser and formatter for go.mod files.
Package module defines the module.Version type along with support code.
Package semver implements comparison of semantic version strings.
Package sumdb implements the HTTP protocols for serving or accessing a module checksum database.
Package zip provides functions for creating and extracting module zip files.