Skip to content

Commit

Permalink
Re-word following review suggestions and fix autogenerated alldocs.go
Browse files Browse the repository at this point in the history
  • Loading branch information
witchard committed Apr 22, 2020
1 parent 16f0896 commit 8d86991
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 17 deletions.
29 changes: 18 additions & 11 deletions src/cmd/go/alldocs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions src/cmd/go/internal/help/helpdoc.go
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,9 @@ General-purpose environment variables:
Comma-separated list of glob patterns (in the syntax of Go's path.Match)
of module path prefixes that should always be fetched in an insecure
manner. Only applies to dependencies that are being fetched directly.
Unlike the -insecure flag on 'go get' this does not disable checksum
database validation; please use GOPRIVATE or GONOSUMDB to achieve that.
Unlike the -insecure flag on 'go get', GOINSECURE does not disable
checksum database validation. GOPRIVATE or GONOSUMDB may be used
to achieve that.
GOOS
The operating system for which to compile code.
Examples are linux, darwin, windows, netbsd.
Expand Down
8 changes: 4 additions & 4 deletions src/cmd/go/internal/modget/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ require downgrading other dependencies, and 'go get' does
this automatically as well.
The -insecure flag permits fetching from repositories and resolving
custom domains using insecure schemes such as HTTP. Use with caution. It is
recommended to use the GOINSECURE environment variable instead as it allows
for more fine-grained control when fetching dependencies in this manner. See
'go help environment' for details.
custom domains using insecure schemes such as HTTP. Use with caution. The
GOINSECURE environment variable is usually a better alternative, since it
provides control over which modules may be retrieved using an insecure scheme.
See 'go help environment' for details.
The second step is to download (if needed), build, and install
the named packages.
Expand Down

0 comments on commit 8d86991

Please sign in to comment.