Modules
Russ Cox edited this page 2023-12-14 22:14:45 -05:00
Clone

Wiki Page Revisions

380 Commits

Author SHA1 Message Date
Alexei Vainshtein
07fcfa132a Updated Modules (markdown) 2018-10-18 13:54:04 +03:00
Dmitry Savintsev
7df33ca689 Updated Modules (markdown) 2018-10-12 13:55:43 +02:00
Dmitry Savintsev
660f1e3b73 update last FAQ for go1.11 and include 'go mod help' output 2018-10-12 13:49:21 +02:00
Dmitry Savintsev
07c9647f0f remove 'go mod fix' as subcommand 2018-10-12 13:40:08 +02:00
thepudds
e4ddd27b2f minor cleanup of checking in go.sum FAQ (content here had been moved from 'How to...' section to break it out as a FAQ) 2018-10-09 10:16:32 -04:00
Paul Jolly
b12f08b69b Add reference on go.sum question 2018-10-08 12:18:21 +01:00
Paul Jolly
7db1d08b15 Updated Modules (markdown) 2018-10-08 12:16:45 +01:00
Paul Jolly
b64be36468 Create specific section on whether to commit go.sum file and start reference from existing section 2018-10-08 12:15:43 +01:00
thepudds
1adc543ca9 tweak table of contents 2018-10-05 00:18:57 -04:00
thepudds
27d36431fd update table of content for new sub-sections in 'How to Prepare for a Release' section 2018-10-04 23:54:43 -04:00
thepudds
d293f2902a update the 'go.mod' section, including provide a simple tree showing an example on-disk structure; additional minor improvement to 'Semantic Import Versioning' section 2018-10-04 23:45:35 -04:00
thepudds
725fdf3163 some updates to Semantic Import Versioning and v2+ upgrade instructions 2018-10-04 22:50:12 -04:00
Sylvain Laurent
5b4c4e0732 Add notes on "missing" files in vendor directory 2018-10-03 17:02:28 +02:00
thepudds
23256d19f0 smaller tweak to FAQ on why 'go mod tidy' brings in indirect and test dependencies 2018-09-29 10:31:34 -04:00
thepudds
e392e8e551 expand and attempt to slightly clarify the FAQ on why 'go mod tidy' brings in indirect and test dependencies 2018-09-29 10:22:51 -04:00
Bryan C. Mills
4635c4e729 Refer to “major branch” and “major subdirectory” conventions (using the terminology from https://research.swtch.com/vgo-module) 2018-09-28 14:16:38 -04:00
thepudds
5dd795acc3 include pointer to VS Code module beta and module support wiki page 2018-09-24 23:57:51 -04:00
thepudds
423dee0cf1 mention again that 'go.sum' should be checked in in the 'go.sum' FAQ (this continues to come up); additional minor improvements to the 'How to Define a Module' section 2018-09-24 22:52:54 -04:00
thepudds
7eb5d6fc58 provide a bit more context and explanation in the 'How to Define a Module' section; update the GitHub searches 2018-09-24 22:48:23 -04:00
thepudds
979093a9d8 finish up table of content modifications 2018-09-24 22:14:19 -04:00
thepudds
7afc40dd25 second half of adding structure to FAQs; expand SIV FAQs. 2018-09-24 22:06:51 -04:00
thepudds
885ec5c5e7 remote pre-beta3 syntax; adjust the table of contents to make the overall structure of the page clearer; introduce sub-sections for the now long-ish FAQ section; re-order sections 2018-09-24 21:46:42 -04:00
thepudds
12d4be05e7 correct one of the replace examples 2018-09-24 00:23:47 -04:00
thepudds
05465dd873 move the more complex steps for v2+ modules out of the 'Semantic import versioning' concepts section and into the 'How to prepare a release section'; make more explicit; refer directly to github.com/marwan-at-work/mod as an option for automating the steps for v2+ modules 2018-09-23 16:22:19 -04:00
thepudds
720dd65d96 provide a new quick start example; consolidate intro paragraphs and ask for feedback upfront via experience reports; re-order first few sections 2018-09-23 15:05:57 -04:00
AJ ONeal
21fc7f113d add concise, follow-along examples for the uninitiated (what I wish I had had) 2018-09-20 14:06:57 -06:00
thepudds
d86f5aa127 one more sentence for `go.sum` FAQ stating `go.sum` captures everything in a build; also move the other 'go.mod' FAQ to be immediately after the go.mod/go.sum FAQs 2018-09-17 10:21:31 -04:00
thepudds
7f6103bc50 update link in table of contents to the new FAQ 2018-09-17 10:03:25 -04:00
thepudds
58207da868 update 'go mod tidy' FAQ (provide a little more context up front; re-order paragraphs; tweak text); add FAQ on whether or not 'go.sum' is a lock file and why 'go.sum' retains information after you stop using something 2018-09-17 09:57:11 -04:00
thepudds
9825ccbd57 pull in 3 of the older proposal-era FAQs into the table of contents (with link that will take you to the older FAQs) 2018-09-08 10:38:44 -04:00
thepudds
2560fb3039 vgo is still stale, so remove vgo install instructions at least for now. Someone can still find the vgo repo if they are interested 2018-09-08 09:12:48 -04:00
Filippo Valsorda
6a7f77384c Updated Modules (markdown) 2018-09-08 01:55:06 -04:00
thepudds
0adc829c6e add pointer in the `replace` FAQ back to the `go.mod` concepts section 2018-09-07 10:05:32 -04:00
thepudds
343420be08 explicitly mention less sensitive to change to avoid the version on the left side of a replace statement; add pointer to `replace` FAQ from section on go.mod 2018-09-07 09:59:22 -04:00
Bryan C. Mills
85d7baf93f clarify grammar in “go mod tidy” section 2018-09-07 09:14:59 -04:00
thepudds
32421f0805 minor tweaks to a couple of the just-added FAQs 2018-09-07 02:14:16 -04:00
thepudds
122bf9b6ba move GOPROXY/Athens/JFrog FAQ up to be next to vendoring FAQ (and some other minor table of contents tweaks) 2018-09-07 02:04:45 -04:00
thepudds
f445693a53 add the FAQ one-liners to the table of contents 2018-09-07 01:51:55 -04:00
thepudds
636e98dc9f added 3 more FAQs (community tooling, replace directives, and working outside of VCS) 2018-09-07 01:38:02 -04:00
thepudds
844650504e move FAQ on `go mod` changes in beta3 to the end (but keeping around, given some older blogs use the older commands) 2018-09-07 01:09:12 -04:00
thepudds
00c21b7334 added 4 more FAQs (on CI, why so many indirect dependencies, vendoring, disabling network access/readonly) 2018-09-07 01:00:11 -04:00
thepudds
856618c1ca add 3 new FAQs on adding a `go.mod` as a leaf package without any dependencies, restrictions on ./subdir imports, and why gcc might be required 2018-09-07 00:20:35 -04:00
thepudds
868cbbc6b2 tweak `go get` FAQ (slightly this time) 2018-09-06 23:59:14 -04:00
thepudds
320b62445b take a stab at simplifying the `go get` fails outside of modules FAQ, and outline a couple more options, including a script put together by rogpeppe; also slightly simplify the tool status FAQ 2018-09-06 23:52:46 -04:00
thepudds
345f56262f update additional references section (now that modules are out, some better or more up-to-date blogs have been written) 2018-09-06 08:55:00 -04:00
thepudds
ab3a7ede3b provide some additional detail on the minimal module awareness introduced in 1.9.7+ and 1.10.3+ 2018-09-05 09:14:13 -04:00
_eternal_flame
f1083d2b1a fix a broken link to the proposal document 2018-09-05 09:13:00 +08:00
thepudds
21780395f6 mention that 1.11 was also updated to understand the use of SIV by code that has opted in to modules (even if module awareness is disabled, for example) 2018-09-02 16:10:43 -04:00
thepudds
b488c3af85 add FAQ on editor, IDE and related tool support for modules 2018-09-02 12:26:20 -04:00
thepudds
a0c342a175 shrink down the 'Recent History' section to a single sentence. 2018-09-02 09:23:03 -04:00