Clone this repo:
  1. 2adab6b zip: expand logging and use t.TempDir and t.Cleanup in test helpers by Bryan C. Mills · 13 days ago master
  2. 02c9913 sumdb: remove redundant type conversion by cui fliter · 4 weeks ago
  3. 8f535f7 sumdb/note: fix some typos by cui fliter · 4 weeks ago
  4. ed83ed6 modfile: remove duplicate words from comments by Abirdcfly · 7 weeks ago
  5. f994a2a zip: set PWD consistently for commands in subdirectories by Bryan C. Mills · 10 months ago



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.