Clone this repo:
  1. 5517a71 all: fix some comments by cuishuang · 2 weeks ago master
  2. b6cdd1a modfile: use reflect.TypeFor instead of reflect.TypeOf by cuishuang · 5 weeks ago
  3. bba3e06 go.mod: update golang.org/x dependencies by Gopher Robot · 4 weeks ago v0.29.0
  4. 1759e96 go.mod: update golang.org/x dependencies by Gopher Robot · 8 weeks ago v0.28.0
  5. f060e16 all: upgrade go directive to at least 1.24.0 [generated] by Gopher Robot · 3 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.