Clone this repo:
  1. 5f2f164 zip: skip tests that run 'git init' and 'git config' on plan9 by Bryan C. Mills · 10 days ago master
  2. 3a5865c modfile: rename directory directive to use by Michael Matloob · 5 weeks ago
  3. c96bc14 x/mod: update requirement on x/crypto by Jay Conrod · 7 weeks ago
  4. ecfafd6 semver: remove unused err field by Koichi Shiraishi · 9 weeks ago
  5. dd30a60 module: accept trailing slash in MatchPrefixPattern by HowJMay · 2 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.