aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack.go
diff options
context:
space:
mode:
authorJay Conrod <jayconrod@google.com>2021-09-24 13:26:35 -0700
committerJay Conrod <jayconrod@google.com>2021-09-28 17:19:08 +0000
commit1c6e50a15200673eb90c817cb6709be5d06cd3f4 (patch)
tree16f8634352afcd4bb2cac77ad2de4892b59641db /src/runtime/stack.go
parentff7b04136091f8208352e97c117ca6489ca95a86 (diff)
downloadgo-1c6e50a15200673eb90c817cb6709be5d06cd3f4.tar.xz
cmd/go: make 'go get' fail with an error when outside a module
There's no go.mod file for 'go get' to update, so it has no effect, other than checking arguments and filling the module cache. That might be useul in some cases, but it seems better to fail loudly in case the user hasn't seen the deprecation warning, for example, inside a script. For #43684 Change-Id: I6e67c782e3a1cb7046eac5c9df17eda7a31c7bce Reviewed-on: https://go-review.googlesource.com/c/go/+/352149 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>
Diffstat (limited to 'src/runtime/stack.go')
0 files changed, 0 insertions, 0 deletions