diff options
author | Bryan C. Mills <bcmills@google.com> | 2021-07-02 14:00:49 -0400 |
---|---|---|
committer | Bryan C. Mills <bcmills@google.com> | 2021-07-07 20:25:29 +0000 |
commit | f264879f74efc8b9a9bcf4e04df0f8f5affa11a9 (patch) | |
tree | 7f4b2eaa8a476f6c8714f6ef5b43fac98381c2b0 /src/cmd/go/internal/modload/init.go | |
parent | c96833e5badedb025761de6a74ed5f9c848059de (diff) | |
download | go-f264879f74efc8b9a9bcf4e04df0f8f5affa11a9.tar.gz go-f264879f74efc8b9a9bcf4e04df0f8f5affa11a9.zip |
cmd/go/internal/modload: fix an apparent typo in the AutoRoot comment
Updates #40276
Change-Id: Ic192d51f9f0306e5c206c550ef02f6d4495d0851
Reviewed-on: https://go-review.googlesource.com/c/go/+/332569
Trust: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Diffstat (limited to 'src/cmd/go/internal/modload/init.go')
-rw-r--r-- | src/cmd/go/internal/modload/init.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/internal/modload/init.go b/src/cmd/go/internal/modload/init.go index cbc7289afa..09136b7de1 100644 --- a/src/cmd/go/internal/modload/init.go +++ b/src/cmd/go/internal/modload/init.go @@ -71,7 +71,7 @@ type Root int const ( // AutoRoot is the default for most commands. modload.Init will look for // a go.mod file in the current directory or any parent. If none is found, - // modules may be disabled (GO111MODULE=on) or commands may run in a + // modules may be disabled (GO111MODULE=auto) or commands may run in a // limited module mode. AutoRoot Root = iota |