Clone this repo:
  1. c8bb1bd module: allow leading dots in import path elements by Jay Conrod · 8 days ago master
  2. 66bf157 modfile: defer fixing versions in retract directives by Jay Conrod · 10 days ago
  3. 66f6d92 modfile: check canonicalness against the relevant module path, not abstract semver by Bryan C. Mills · 12 days ago
  4. 6ce8bb3 cmd/go: validating version format in mod edit by Tom Zierbock · 2 months ago v0.4.1
  5. bc388b2 README: convert to Markdown and add pkg.go.dev tag by Jay Conrod · 3 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.