1
0
mirror of https://github.com/golang/go synced 2024-11-07 00:26:18 -07:00
go/doc
Jay Conrod c357b363cf cmd/go: add -modfile flag that sets go.mod file to read/write
This change adds the -modfile flag to module aware build commands and
to 'go mod' subcommands. -modfile may be set to a path to an alternate
go.mod file to be read and written. A real go.mod file must still
exist and is used to set the module root directory. However, it is not
opened.

When -modfile is set, the effective location of the go.sum file is
also changed to the -modfile with the ".mod" suffix trimmed (if
present) and ".sum" added.

Updates #34506

Change-Id: I2d1e044e18af55505a4f24bbff09b73bb9c908b4
Reviewed-on: https://go-review.googlesource.com/c/go/+/202564
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-24 20:15:50 +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.3 2019-10-17 21:30:20 +00:00
gopher doc/gopher: add model sheet 2018-07-18 04:00:10 +00:00
play doc/play: match the hello world snippet in x/website 2019-10-23 22:43:37 +00:00
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
conduct.html
contrib.html doc: clarify that contributing isn't just for code 2019-10-23 17:57:23 +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
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
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: add -modfile flag that sets go.mod file to read/write 2019-10-24 20:15:50 +00:00
go1.html
go1compat.html
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
modules.md doc: add skeleton module documentation with headings 2019-10-24 16:58:49 +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