Skip to content

Commit 8d86991

Browse files
committed
Re-word following review suggestions and fix autogenerated alldocs.go
1 parent 16f0896 commit 8d86991

File tree

3 files changed

+25
-17
lines changed

3 files changed

+25
-17
lines changed

src/cmd/go/alldocs.go

Lines changed: 18 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cmd/go/internal/help/helpdoc.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,9 @@ General-purpose environment variables:
510510
Comma-separated list of glob patterns (in the syntax of Go's path.Match)
511511
of module path prefixes that should always be fetched in an insecure
512512
manner. Only applies to dependencies that are being fetched directly.
513-
Unlike the -insecure flag on 'go get' this does not disable checksum
514-
database validation; please use GOPRIVATE or GONOSUMDB to achieve that.
513+
Unlike the -insecure flag on 'go get', GOINSECURE does not disable
514+
checksum database validation. GOPRIVATE or GONOSUMDB may be used
515+
to achieve that.
515516
GOOS
516517
The operating system for which to compile code.
517518
Examples are linux, darwin, windows, netbsd.

src/cmd/go/internal/modget/get.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ require downgrading other dependencies, and 'go get' does
114114
this automatically as well.
115115
116116
The -insecure flag permits fetching from repositories and resolving
117-
custom domains using insecure schemes such as HTTP. Use with caution. It is
118-
recommended to use the GOINSECURE environment variable instead as it allows
119-
for more fine-grained control when fetching dependencies in this manner. See
120-
'go help environment' for details.
117+
custom domains using insecure schemes such as HTTP. Use with caution. The
118+
GOINSECURE environment variable is usually a better alternative, since it
119+
provides control over which modules may be retrieved using an insecure scheme.
120+
See 'go help environment' for details.
121121
122122
The second step is to download (if needed), build, and install
123123
the named packages.

0 commit comments

Comments
 (0)