Clone this repo:
  1. 6088ed8 modfile: be less strict about go version syntax in dependency go.mod files by Russ Cox · 8 days ago master
  2. 67f1c1e modfile: take into account that // indirect comments may not be well formatted by komuW · 10 days ago
  3. fb786b1 module: accept leading dash in a file path by Ian Lance Taylor · 11 days ago
  4. 4435ecf go.mod: upgrade to go 1.17 by Bryan C. Mills · 12 days ago
  5. 858fdbe modfile: parse deprecation notices in module comments by Jay Conrod · 9 weeks 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.