golang/mod

[mirror] Go module mechanics libraries

Go

210

117 commits

updated Sep 8, 2026

See the code

README

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.

Contributors

(top 30 of 43)

gopherbot

20 commits

rsc

19 commits

matloob

9 commits

dmitshur

8 commits

golang/mod

[mirror] Go module mechanics libraries

Go

210

117 commits

updated Sep 8, 2026

See the code

README

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.

Contributors

(top 30 of 43)

gopherbot

20 commits

rsc

19 commits

matloob

9 commits

dmitshur

8 commits

Languages

Go

100.0%