1
0
mirror of https://github.com/golang/go synced 2024-11-05 21:46:13 -07:00
go/doc
Bryan C. Mills 6145a80608 cmd/go: remove the -mod flag from 'go get'
'GOFLAGS=-mod=vendor' currently causes 'go get' to always fail unless
the '-mod' flag is explicitly overwritten. Moreover, as of CL 198319
we plan to set -mod=vendor by default if a vendor directory is
present, so all users with vendor directories will be affected — not
just those who set 'GOFLAGS' explicitly.

Similarly, an explicit '-mod=readonly' argument to 'go get' is
currently ignored as a special case, but the fact that it is ignored
(rather than rejected) can be very surprising.

Rather than adding more special cases, we should remove the '-mod'
flag from 'go get' entirely.

Fixes #30345
Fixes #32502
Updates #33848

Change-Id: Iecd3233ca3ef580ca3a66bd5e6ee8d86d4cbd8a7
Reviewed-on: https://go-review.googlesource.com/c/go/+/198438
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
2019-10-04 15:47:46 +00:00
..
articles all: remove trailing whitespace from HTML files 2019-09-18 18:32:20 +00:00
codewalk doc: fix a typo 2019-02-05 18:11:45 +00:00
devel doc: document Go 1.13.1 and Go 1.12.10 2019-09-26 16:44:02 +00:00
gopher doc/gopher: add model sheet 2018-07-18 04:00:10 +00:00
play
progs doc: improve the interface example in Effective Go 2018-11-26 05:08:25 +00:00
asm.html doc: update ppc64 section for asm.html 2019-09-16 14:12:02 +00:00
cmd.html doc: don't use "go tool vet" as an example 2019-02-13 05:35:45 +00:00
code.html doc: remove double mention of custom workspace 2019-09-29 07:57:04 +00:00
conduct.html doc: update Code of Conduct 2018-05-23 20:16:46 +00:00
contrib.html doc: add Go 1.13 to release history 2019-09-03 20:02:22 +00:00
contribute.html doc: use <code> for a few file paths that didn't 2019-07-27 23:29:18 +00:00
debugging_with_gdb.html runtime: support all as parameter in gdb goroutine commands. 2019-04-29 18:11:11 +00:00
diagnostics.html doc: document GODEBUG options to disable use of instruction set extensions 2018-12-18 14:59:36 +00:00
docs.html doc: update docs.html with new tour import path 2018-10-20 14:19:29 +00:00
editors.html doc: fix spelling of comp[]hensive to comp[r]ehensive 2018-10-12 22:59:05 +00:00
effective_go.html doc: reword to avoid the confusing term 'anew' 2019-09-20 08:06:51 +00:00
gccgo_contribute.html all: remove trailing whitespace from HTML files 2019-09-18 18:32:20 +00:00
gccgo_install.html all: remove trailing whitespace from HTML files 2019-09-18 18:32:20 +00:00
go1.1.html doc: s/tool chain/toolchain/ 2018-01-09 21:47:03 +00:00
go1.2.html doc: use HTTPS for links 2018-06-13 13:45:01 +00:00
go1.3.html doc: rewrite reference to plan9.bell-labs.com to 9p.io 2019-08-19 21:42:54 +00:00
go1.4.html doc: use HTTPS for links 2018-06-13 13:45:01 +00:00
go1.5.html
go1.6.html doc: align documents link 2019-08-26 17:33:52 +00:00
go1.7.html doc: align documents link 2019-08-26 17:33:52 +00:00
go1.8.html doc: align documents link 2019-08-26 17:33:52 +00:00
go1.9.html doc: align documents link 2019-08-26 17:33:52 +00:00
go1.10.html doc: align documents link 2019-08-26 17:33:52 +00:00
go1.11.html doc: align documents link 2019-08-26 17:33:52 +00:00
go1.12.html doc: align documents link 2019-08-26 17:33:52 +00:00
go1.13.html net/http, doc/go1.13.html: revert TimeoutHandler.Flush 2019-09-26 21:12:34 +00:00
go1.14.html cmd/go: remove the -mod flag from 'go get' 2019-10-04 15:47:46 +00:00
go1.html doc: change anchor URLs from golang.org/dl/ to /dl/ 2018-01-20 04:13:12 +00:00
go1compat.html doc: s/tool chain/toolchain/ 2018-01-09 21:47:03 +00:00
go_faq.html all: remove trailing whitespace from HTML files 2019-09-18 18:32:20 +00:00
go_mem.html doc: go_mem: clarify Once docs 2018-12-21 21:46:38 +00:00
go_spec.html spec: clarify that shift count must be non-negative 2019-09-04 16:01:24 +00:00
go-logo-black.png
go-logo-blue.png
go-logo-white.png
help.html doc: remove a Google+ link since it doesn't exist anymore 2019-06-18 03:41:59 +00:00
ie.css
install-source.html doc/install-source: create distinction between steps that involve "git clone" 2019-08-09 20:26:42 +00:00
install.html doc: clarify to use MinGW-W64 for amd64 systems 2019-04-26 15:09:02 +00:00
root.html doc: update "Mac OS X", "OS X" to macOS; bump up to 10.10 2018-06-19 21:36:56 +00:00
security.html doc: use https scheme in oss-distros link 2018-12-11 00:39:03 +00:00
share.png
tos.html