This repository was archived by the owner on Apr 12, 2020. It is now read-only.
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
This fork is just a quick and dirty solution (commit log should be self-explanatory) to provide what golang/go#31761 aims to provide when it is done (currently scheduled for Go 1.14; Feb 2020). **NOTE** APIs exposed from this module (esp. from modfile package) are subject to change and everyone is encouraged to migrate to `golang.org/x/mod` when it's feature complete and stable. ---- 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.