Clone this repo:
  1. 5b69280 modfile: use new go version string format in error message by Sean Liao · 9 days ago master
  2. 273ef6c go.mod: update to go 1.18 and x/tools v0.13.0 by Dmitri Shuralyov · 2 weeks ago
  3. baa5c2d all: add godoc links by Olivier Mengué · 4 months ago internal-branch.go1.21-vendor v0.12.0
  4. 7603649 zip: fix TestCreateFromDirSpecial/ignore_symlink on wasmtime by Bryan C. Mills · 3 months ago
  5. 22d21f4 zip: fix doc for CreateFromVCS function by Oleksandr Redko · 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.