Clone this repo:
  1. aa51b25 modfile: do not collapse if there are unattached comments within blocks by Quan Tong · 4 months ago master
  2. 87140ec sumdb/tlog: make NewTiles only generate strictly necessary tiles by Filippo Valsorda · 10 days ago
  3. 18d3f56 modfile: fix crash on AddGoStmt in empty File by crazybolillo · 11 days ago
  4. 766dc5d modfile: use new go version string format in WorkFile.add error by Sam Thanawalla · 6 weeks ago v0.16.0
  5. fa1ba42 sumdb: replace globsMatchPath with module.MatchPrefixPatterns by Aofei Sheng · 5 months ago v0.15.0

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.