all: replace io/ioutil with io and os package This PR replaces the deprecated in Go 1.17 `io/ioutil` package with `io` and `os` packages. Changes are the same as in [CL 430799](https://go.dev/cl/430799) but with test fixes. Change-Id: I69095e5d62b10879fd273305876fd7498803705d GitHub-Last-Rev: 28cdff9b8c971556da0006d955d60551930cebde GitHub-Pull-Request: golang/mod#17 Reviewed-on: https://go-review.googlesource.com/c/mod/+/462278 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com>
all: fix some comments to improve readability Change-Id: I952e3de2c68b099946f7293670d679183dcb84f0 Reviewed-on: https://go-review.googlesource.com/c/mod/+/785400 LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
x/mod: apply go fix and go vet (Needed so that I can vendor this into std, a consequence of vendoring x/tools into std.) A number of places were further simplified by hand. Change-Id: Ic836afb1623365edcf81f5363f213366a2978d28 Reviewed-on: https://go-review.googlesource.com/c/mod/+/720581 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Auto-Submit: Alan Donovan <adonovan@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
x/mod: apply go fix and go vet (Needed so that I can vendor this into std, a consequence of vendoring x/tools into std.) A number of places were further simplified by hand. Change-Id: Ic836afb1623365edcf81f5363f213366a2978d28 Reviewed-on: https://go-review.googlesource.com/c/mod/+/720581 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Auto-Submit: Alan Donovan <adonovan@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
all: fix some comments to improve readability Change-Id: I952e3de2c68b099946f7293670d679183dcb84f0 Reviewed-on: https://go-review.googlesource.com/c/mod/+/785400 LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
all: fix some comments to improve readability Change-Id: I952e3de2c68b099946f7293670d679183dcb84f0 Reviewed-on: https://go-review.googlesource.com/c/mod/+/785400 LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
LICENSE: update per Google Legal Very minor tweaks: - Remove (c) pseudosymbol. - Remove "All Rights Reserved." - Change "Google Inc." (no longer exists) to "Google LLC". [git-generate] echo ' ,s/\(c\) // ,s/ All rights reserved.// ,s/Google Inc./Google LLC/ w q ' | sam -d LICENSE Change-Id: Icf1e124b083e2cfd5c804ccef7f563881d5f41d9 Reviewed-on: https://go-review.googlesource.com/c/mod/+/598578 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Russ Cox <rsc@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com>
README: fix link to x/tools Change-Id: I4803bfe7da3b21fdfe503b9804015f0a5104a52e Reviewed-on: https://go-review.googlesource.com/c/mod/+/601441 Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
go.mod: update golang.org/x dependencies Update golang.org/x dependencies to their latest tagged versions. Change-Id: I89fe4bb38d3482077a50b1932b511515bea9e74f Reviewed-on: https://go-review.googlesource.com/c/mod/+/798140 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: David Chase <drchase@google.com> Auto-Submit: Gopher Robot <gobot@golang.org> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
3 months ago
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,
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.