Clone this repo:
  1. dc121ce all: upgrade go directive to at least 1.23.0 [generated] by Gopher Robot · 8 weeks ago master v0.24.0
  2. 52289f1 modfile: fix trailing empty lines in require blocks by Prince Roshan · 3 months ago v0.23.0
  3. dec0365 sumdb: make data tiles by Server compatible with sum.golang.org by Mechiel Lukkien · 6 months ago v0.22.0
  4. c8a7319 x/mod: fix handling of vendored packages with '/vendor' in non-top-level paths by Sam Thanawalla · 6 months ago
  5. 9cd0e4c x/mod: remove vendor/modules.txt from module download by Sam Thanawalla · 11 months ago

mod

PkgGoDev

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.