]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go/internal/modload: fix an apparent typo in the AutoRoot comment
authorBryan C. Mills <bcmills@google.com>
Fri, 2 Jul 2021 18:00:49 +0000 (14:00 -0400)
committerBryan C. Mills <bcmills@google.com>
Wed, 7 Jul 2021 20:25:29 +0000 (20:25 +0000)
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>
src/cmd/go/internal/modload/init.go

index cbc7289afa5a482e92bb97a7e34f9d91e73fd576..09136b7de1aaa56248a43b187571b5d30aefcd5b 100644 (file)
@@ -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