Clone this repo:
  1. 37dd689 modfile: in SetRequireSeparateIndirect, convert lines to blocks by Jay Conrod · 14 days ago master
  2. 4be982b modfile: in SetRequireSeparateIndirect, arrange requirements consistently by Jay Conrod · 5 weeks ago
  3. 1b1db11 zip: add ErrUnrecognizedVCS error, allowing fallback behavior by Jean de Klerk · 4 weeks ago
  4. 4029241 [dev.cmdgo] modfile: parser changes for workfile proposal by Michael Matloob · 4 months ago
  5. 607370a module: use strings.ContainsRune in fileNameOK by Tobias Klauser · 3 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.