Clone this repo:
  1. 6ce8bb3 cmd/go: validating version format in mod edit by Tom Zierbock · 5 weeks ago internal-branch.go1.16-vendor master v0.4.1
  2. bc388b2 README: convert to Markdown and add pkg.go.dev tag by Jay Conrod · 8 weeks ago
  3. 3bfbaad semver: deprecate semver.Max by Jay Conrod · 3 months ago v0.4.0
  4. ce943fd module: reject Windows shortnames as path components by Michael Matloob · 5 months ago
  5. b857d93 module: reject "+" in CheckPath and CheckImportPath by Michael Matloob · 5 months ago

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.