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

Wiki Page Revisions

380 Commits

Author SHA1 Message Date
thepudds
b9b0248de1 adjust 'go.mod' section; various other minor tweaks 2018-12-19 10:42:59 -05:00
Jeevanandam M
f632a5f384 Added note about thumbai mod proxy info 2018-12-15 17:03:26 -08:00
thepudds
3568a32f9f fix extra word 2018-12-14 09:01:44 -05:00
thepudds
6a3214d0f5 adjust new "Quick Start" slightly; other minor adjustments 2018-12-14 08:59:46 -05:00
Komu Wairagu
4529003b37 changed from `Note that if you adopting` to `Note that if you are adopting` 2018-12-14 09:52:47 +03:00
thepudds
3a7131bae5 small tweak 2018-12-13 13:46:33 -05:00
thepudds
f509165108 adjust formatting of "Quick Start" section 2018-12-13 13:34:55 -05:00
thepudds
bb4f9f0a39 briefly explain './...' 2018-12-13 13:24:11 -05:00
thepudds
dc9d7bca84 transition "Quick Start Example" section to a "Quick Start" section 2018-12-13 13:14:12 -05:00
thepudds
8197fef731 provide example 'go list' invocation to show exact versions used in your build excluding test-only dependencies (from #26955) 2018-12-12 09:19:32 -05:00
thepudds
3c948ab3c2 minor tweaks to recent material 2018-12-11 08:59:09 -05:00
thepudds
ae770a2c69 use github.com/my/repo in one of the examples rather than example.com/my/project 2018-12-10 18:06:32 -05:00
thepudds
f7452d4baa expanded general purpose troubleshooting FAQs 2018-12-09 08:59:32 -05:00
thepudds
192b1f5261 expanded general purpose troubleshooting FAQs 2018-12-09 08:55:19 -05:00
thepudds
e8762f6d8d and new FAQs to TOC 2018-12-07 17:33:00 -05:00
thepudds
7e5e2cd2a6 some edits to "minimal module compatibility" FAQ. (Still a bit rough). 2018-12-07 17:18:37 -05:00
thepudds
3b6d8aa73b some edits to '+incompatible' FAQ 2018-12-07 16:21:51 -05:00
thepudds
bfa9eca33c minor tweaks to recent material 2018-12-07 12:53:41 -05:00
thepudds
584c4bb6fd minor tweaks to recent material 2018-12-07 12:23:45 -05:00
thepudds
35618665ab s/Subdirectory/Branch/ 2018-12-07 12:04:28 -05:00
thepudds
28f8551e71 minor tweaks to recent material 2018-12-07 11:49:19 -05:00
thepudds
ba32a3a989 minor tweaks to recent material 2018-12-07 11:28:49 -05:00
thepudds
b0ad9149b9 minor tweaks to recent material 2018-12-07 11:21:44 -05:00
thepudds
57f8e21722 add brief discussion of 'goforward'; small tweaks to recent material 2018-12-07 11:16:10 -05:00
thepudds
93dda5aabb TOC update 2018-12-07 10:43:54 -05:00
thepudds
a275119bd1 add the new entries to TOC 2018-12-07 10:41:52 -05:00
thepudds
8cca0bafd5 add two general purpose troubleshooting FAQs, and two FAQs on two of the most common specific error messages 2018-12-07 10:32:11 -05:00
thepudds
83477c0cb0 expand vendor FAQ; drop older FAQ on 'go mod' commands changing in go1.11beta3 2018-12-07 08:56:31 -05:00
thepudds
365c05ac6d add new 'Migration Considerations' section. (Work-in-progress; hopefully will improve over time as best practices emerge from the community). 2018-12-07 06:50:29 -05:00
thepudds
c3ee9b5908 slightly expand the answer to 'Is go.sum a lock file?' 2018-12-06 08:30:43 -05:00
thepudds
10bb4b3436 add three new detailed FAQs on +incompatible, "minimal module awareness", and importing non-module packages. (Still a bit rough; will hopefully polish later with fresh eyes). 2018-12-05 18:59:16 -05:00
thepudds
c6470bae98 attempt to more clearly enumerate the exceptions/special cases in the 'Semantic Import Versioning' section (and some other misc. cleanup) 2018-12-05 11:47:23 -05:00
thepudds
89bb22547a expand 'Semantic Import Versioning' section a bit 2018-12-04 16:57:59 -05:00
thepudds
1290328585 mention 'go list -m all' is useful to confirm a 'replace' statement is giving you what you expect 2018-12-04 10:21:46 -05:00
thepudds
c4a1c1ed95 expand 'replace' FAQs 2018-12-04 09:53:19 -05:00
thepudds
f75aafd02d make it clearer that tagging a module release is the act that publishes a release 2018-12-03 22:04:28 -05:00
thepudds
026d4d24e8 don't use 'foo' for a package name in 'Releasing Modules (v2 or Higher)' section 2018-12-03 15:13:41 -05:00
thepudds
ce12998148 add comment in 'Releasing Modules (v2 or Higher)' section regarding advice to increment major version when first adopting modules for a pre-existing v2+ package 2018-12-03 12:50:28 -05:00
thepudds
bfe9515498 provide a slightly longer explanation of the 'tools.go' approach along with a pointer to a "Go Modules by Example" walkthrough; also fix an FAQ link that someone broke, and swap ordering of two FAQs 2018-12-01 09:44:05 -05:00
Paul Jolly
49a68a2600 Updated Modules (markdown) 2018-12-01 04:52:12 +00:00
thepudds
703a923285 Additional tweak to ‘gobin’ description 2018-11-30 09:42:24 -05:00
thepudds
8b0321f766 Small tweak to ‘gobin’ description 2018-11-30 09:36:49 -05:00
thepudds
9f0f515751 add pointer to 'gobin', along with high-level description 2018-11-30 09:01:04 -05:00
thepudds
dced9ebda8 add a paragraph on why you can end up with '// indirect' require directives if you run 'go get -u' or otherwise upgrade an indirect dependency 2018-11-29 06:37:22 -05:00
thepudds
e15da1bd24 mention in "How to Define a Module" that 'go mod init' does not add '/vN' to the dependencies listed in 'go.mod', or at least, it does not always do so. 2018-11-25 12:58:59 -05:00
x1ah
2e74f8287c Updated Modules (markdown) 2018-11-22 14:45:57 +08:00
thepudds
ccab1c3cb9 make it clearer that a new branch is not a requirement for the 'Major Branch' strategy for a v2+ module 2018-11-20 10:18:36 -05:00
thepudds
cf232d2c35 tweak wording around 'go get foo' and also add mention of 'go get foo@latest' 2018-11-02 17:58:22 -04:00
Matthew Cale
a913f0e851 non-major grammar mod. commonly accepted as the better option. 2018-10-23 15:58:35 -05:00
Alexei Vainshtein
c41c593e26 Updated Modules (markdown) 2018-10-18 13:54:22 +03:00