Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/golang/mod

[mirror] Go module mechanics libraries
https://github.com/golang/mod

Last synced: about 1 month ago
JSON representation

[mirror] Go module mechanics libraries

Awesome Lists containing this project

README

        

# mod

[![PkgGoDev](https://pkg.go.dev/badge/golang.org/x/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.