commit | 22458ad575ea11d2d8dc0843e9549ec7ae35c065 | [log] [tgz] |
---|---|---|
author | Bryan C. Mills <bcmills@google.com> | Fri Jun 04 16:23:55 2021 -0400 |
committer | Bryan C. Mills <bcmills@google.com> | Tue Jun 08 19:00:12 2021 +0000 |
tree | 2870b0d7eeacc5b49976b86538d5a29dab29a76c | |
parent | 9eb10b1d3ef8d9670f415c42ac1df64e6ff4296d [diff] |
modfile: factor out methods for changing Require properties For golang/go#45965 Change-Id: I331d068d115b145239933da0d8341a1627124935 Reviewed-on: https://go-review.googlesource.com/c/mod/+/325970 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org>
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.