diff options
author | Jay Conrod <jayconrod@google.com> | 2021-03-04 10:35:17 -0500 |
---|---|---|
committer | Alexander Rakoczy <alex@golang.org> | 2021-03-10 21:27:07 +0000 |
commit | 5993fbbd4853f4c6062980908c274bacb6f927dc (patch) | |
tree | a539c08749df2737c19d3203be6de8cd3d2d69ac /VERSION | |
parent | 6e041884406421d329b9c6064f3c13104628c876 (diff) | |
download | go-5993fbbd4853f4c6062980908c274bacb6f927dc.tar.gz go-5993fbbd4853f4c6062980908c274bacb6f927dc.zip |
[release-branch.go1.16] cmd/go: clarify errors for commands run outside a module
The new error message tells the user what was wrong (no go.mod found)
and directs them to 'go help modules', which links to tutorials.
Includes test fix from CL 298794
Fixes #44746
Change-Id: I98f31fec4a8757eb1792b45491519da4c552cb0f
Reviewed-on: https://go-review.googlesource.com/c/go/+/298650
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
(cherry picked from commit b87e9b9f68f1eb0d685fd250b3b47495710e0059)
Reviewed-on: https://go-review.googlesource.com/c/go/+/298929
Diffstat (limited to 'VERSION')
0 files changed, 0 insertions, 0 deletions