Clone this repo:
  1. 792ac16 go.mod: update golang.org/x dependencies by Gopher Robot · 3 weeks ago master v0.38.0
  2. fe2ec04 all: fix some comments to improve readability by cuishuang · 8 weeks ago
  3. deb1dfc go.mod: update golang.org/x dependencies by Gopher Robot · 7 weeks ago v0.37.0
  4. 087f651 modfile: use slices.Backward by Tobias Klauser · 10 weeks ago
  5. 343ee60 x/mod: allow for aggressively conslidating requires by Ian Alexander · 6 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.