Clone this repo:
  1. 858fdbe modfile: parse deprecation notices in module comments by Jay Conrod · 5 weeks ago master
  2. 244d49f modfile: clarify documentation for Parse by Jay Conrod · 13 days ago
  3. 1cc8812 semver: add ByVersion and Sort for sorting semantic version lists by Jay Conrod · 3 weeks ago
  4. 6b0bea4 module: move pseudo-version functions into module by Jay Conrod · 3 weeks ago
  5. 19d50ca module: add InvalidPathError by Jay Conrod · 6 weeks 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.