https://github.com/golang/mod
[mirror] Go module mechanics libraries
https://github.com/golang/mod
Last synced: about 1 year ago
JSON representation
[mirror] Go module mechanics libraries
- Host: GitHub
- URL: https://github.com/golang/mod
- Owner: golang
- License: bsd-3-clause
- Created: 2019-05-10T16:48:16.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-05T13:01:39.000Z (about 1 year ago)
- Last Synced: 2025-03-27T06:11:18.497Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 292 KB
- Stars: 199
- Watchers: 33
- Forks: 85
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - golang/mod - [mirror] Go module mechanics libraries (Go)
README
# mod
[](https://pkg.go.dev/golang.org/x/mod)
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](https://pkg.go.dev/golang.org/x/tools),
specifically [x/tools/go/packages](https://pkg.go.dev/golang.org/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.