aboutsummaryrefslogtreecommitdiff
path: root/_content/ref/mod.md
AgeCommit message (Collapse)Author
11 hoursref/mod: fix markdown syntax inside embedded HTMLShulhan
Markdown syntax inside embedded HTML is not get parsed, so fix it by replacing it with the corresponding HTML tag. Change-Id: I9b3ef7bbb42d6aea4b022accd9af2d15594b8143 Reviewed-on: https://go-review.googlesource.com/c/website/+/737240 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: David Chase <drchase@google.com>
2026-03-30_content: add more documentation for 'go tool' features in ref/modMichael Matloob
This CL addresses the issues in #71663 that appear in go.dev/ref/mod. For golang/go#71663 Change-Id: I44d801b9e0e658547faf5ea3023f4a246a6a6964 Reviewed-on: https://go-review.googlesource.com/c/website/+/761040 Reviewed-by: Michael Matloob <matloob@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Auto-Submit: Michael Matloob <matloob@golang.org>
2026-03-17_content/ref: correct repo-url requirementsSean Liao
This aligns it with the documentation of "go help importpath", which is also the behavior implemented by cmd/go. Fixes golang/go#77371 Change-Id: I84a0802c255602258de7148d61b3058328dd45ca Reviewed-on: https://go-review.googlesource.com/c/website/+/755300 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Jonathan Amsterdam <jba@google.com> Reviewed-by: Michael Matloob <matloob@google.com> Reviewed-by: Michael Matloob <matloob@golang.org>
2026-02-02internal/web: do not treat Markdown files as templates by defaultRyo Sakuma
Markdown files are no longer treated as Go templates by default. Pages that need template processing must explicitly set "template: true" in their front matter. This prevents unintended HTML escaping of template-like syntax (e.g., "<" and ">") in Markdown content. Fixes golang/go#75552 Change-Id: If00328831cd6b119043d9c2055fd21076943e2c4 Reviewed-on: https://go-review.googlesource.com/c/website/+/733500 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Pratt <mpratt@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2025-06-10_content/ref/mod: add documentation for ignore and go-get subdirectoriesMichael Matloob
Add documentation for the new ignore directive, and the option to provide subdirectories in meta-tags used to resolve modules. Update release notes to point to the documentation. Change-Id: Ia6ab22f052948b42b3b6b2386b93f8fab73c300d Reviewed-on: https://go-review.googlesource.com/c/website/+/680197 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Michael Matloob <matloob@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2025-05-24_content/ref/mod: remove documentation for auto-converting legacy formatsthepudds1460
CL 518776 dropped the ability of 'go mod init' to convert legacy pre-module dependency configuration files, such as automatically transforming a Gopkg.lock to a go.mod file with similar requirements, but some of the documentation remained. In this CL, we remove it from the Modules Reference page. (CL 662695 is a companion change that removes it from cmd/go documentation). Fixes golang/go#71537 Change-Id: I89126612ac108b8b94572c6b97991d7d5eb2921b Reviewed-on: https://go-review.googlesource.com/c/website/+/662675 Reviewed-by: Michael Matloob <matloob@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Matloob <matloob@google.com> Reviewed-by: David Chase <drchase@google.com>
2025-04-08_content/ref: document +dirtySam Thanawalla
Fixes: golang/go#71970 Change-Id: I68bc645eb9077b0acedd1b80c61c06125b540394 Reviewed-on: https://go-review.googlesource.com/c/website/+/663855 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dimitri John Ledkov <dimitri.ledkov@surgut.co.uk> Reviewed-by: Michael Matloob <matloob@golang.org>
2025-02-20_content/ref: clarify vcs repo urlSean Liao
The text says "up to" without including the vcs identifier, which matches current cmd/go behavior, but the example includes the vcs identifier in the url. For golang/go#71635 Change-Id: If8277b1305c496f3ba20e6c58f5f920cf1ba48a9 Reviewed-on: https://go-review.googlesource.com/c/website/+/644095 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Sam Thanawalla <samthanawalla@google.com> Reviewed-by: Michael Matloob <matloob@golang.org>
2025-02-11_content: update go.mod examples to use full go versionsSean Liao
There's confusion on whether 1.X or 1.X.Y is canonical, the documentation should reflect the defaults of cmd/go. Updates golang/go#62278 Change-Id: I00489774e686d774cd970394237dff0462272cef Reviewed-on: https://go-review.googlesource.com/c/website/+/643615 Reviewed-by: Sam Thanawalla <samthanawalla@google.com> Reviewed-by: Michael Matloob <matloob@golang.org> Auto-Submit: Daniel Martí <mvdan@mvdan.cc> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com>
2025-02-03_content/ref/mod: add -x and -diff flags to go mod tidywillboland
Existing documentation for go mod tidy is missing -x and -diff flags. Adds these flags to the documentation. Fixes golang/go#69936 Change-Id: I00764066684461d38684b5711a17483819b50904 GitHub-Last-Rev: 8266f0485ecedfc604c696e10a86806c82ba6952 GitHub-Pull-Request: golang/website#304 Reviewed-on: https://go-review.googlesource.com/c/website/+/639275 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
2024-12-06_content/doc: document module toolsConrad Irwin
For golang/go#48429 Change-Id: I81344da002afe92c8ec60ad5acef0b11e487934e Reviewed-on: https://go-review.googlesource.com/c/website/+/632595 Reviewed-by: Sam Thanawalla <samthanawalla@google.com> Reviewed-by: Michael Matloob <matloob@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-08-28_content/ref: modules, correct statement on recording build metadataSean Liao
Fixes golang/go#64652 Change-Id: Ie258e109053258e3bf214f75809ce9e26ede3636 Reviewed-on: https://go-review.googlesource.com/c/website/+/553156 Reviewed-by: Michael Matloob <matloob@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
2024-07-01_content/ref: remove potentially confusing statement in go work use docMichael Matloob
A statement in the go work use docs that was meant to clarify that go work use would clean up use statements where the directories did not exist ended up causing confusion. Remove that statement for now. We might want to add something back in the future. Fixes golang/go#68245 Change-Id: I74b0ebdf7d11e8e03a4e18f58e49ec02a896c091 Reviewed-on: https://go-review.googlesource.com/c/website/+/595997 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Eli Bendersky <eliben@google.com>
2024-06-07ref/mod: add a warning against checking in go.work filesMichael Matloob
Add a warning against checking in go.work files together with a sentence about where it might be okay. Fixes golang/go#53502 Change-Id: I1f643fc75c2951a9dcd56db11d612989dadcaa59 Reviewed-on: https://go-review.googlesource.com/c/website/+/580115 Reviewed-by: Eli Bendersky‎ <eliben@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Alan Donovan <adonovan@google.com> Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
2024-05-15_content/ref/mod: document godebug directiveRuss Cox
For golang/go#65573. Change-Id: Ie6b92586d203dd921d86084da84edc4706143fd8 Reviewed-on: https://go-review.googlesource.com/c/website/+/584218 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Russ Cox <rsc@golang.org> Reviewed-by: Sam Thanawalla <samthanawalla@google.com> Reviewed-by: Michael Matloob <matloob@golang.org>
2024-03-15_content/ref/mod: document dotless module pathsBryan C. Mills
Fixes golang/go#32819 For golang/go#37641 Change-Id: Icbf33337f1b35d47a44ddd7512ce4f7d0f8a0d56 Reviewed-on: https://go-review.googlesource.com/c/website/+/359594 Auto-Submit: Bryan Mills <bcmills@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2024-02-13_content/ref/mod: document go.work.sum filesMichael Matloob
There's no mention of go.work.sum files in ref/mod. Add some mentioning when they can appear. Fixes golang/go#51941 Change-Id: I377f6dcd0712ed8b9967469bc223543d784a6bd3 Reviewed-on: https://go-review.googlesource.com/c/website/+/563855 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Bryan Mills <bcmills@google.com>
2023-12-08cmd/golangorg: check for invalid or broken links in served HTMLRuss Cox
Test that links are to /foo not https://go.dev/foo and also check that the links actually point at real pages. Manually fix problems that the test found. For golang/go#37047. Change-Id: I825eec3c2cadb9d259caff51cd893f3023ab533a Reviewed-on: https://go-review.googlesource.com/c/website/+/548059 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Russ Cox <rsc@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-12-08_content: replace https://blog.golang.org/ links with /blog/Russ Cox
Global search and replace in HTML for href="https://blog.golang.org/ and in Markdown for ](https://blog.golang.org/ Change-Id: Ife69e89a42a631fa5c8babd07201ed0d7796eb0e Reviewed-on: https://go-review.googlesource.com/c/website/+/548062 Auto-Submit: Russ Cox <rsc@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-09-27_content/ref/mod: fix wording errorRuss Cox
The text says "Go release version" but should say "Go version". Fixes golang/go#62707. Change-Id: I95f6f95088cd99fdadaa57d301083d484979cdb0 Reviewed-on: https://go-review.googlesource.com/c/website/+/530680 Reviewed-by: Bryan Mills <bcmills@google.com> Auto-Submit: Russ Cox <rsc@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-06-15_content: fix broken Markdown links to /doc/toolchainMax Riveiro
Change-Id: I2256da09dcbc20832c5f6c3eb48a884af8ad604a GitHub-Last-Rev: fa7f86b3b409e8d27bf93aacb219ccbaadec9a78 GitHub-Pull-Request: golang/website#228 Reviewed-on: https://go-review.googlesource.com/c/website/+/503235 Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Tatiana Bradley <tatianabradley@google.com> Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Russ Cox <rsc@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
2023-06-12_content: add https://go.dev/doc/toolchainRuss Cox
This documents the new toolchain selection and switching for the forward compatibility work. For golang/go#57001. Change-Id: I0efdac6771018063446dd0db22013c5fd756bea4 Reviewed-on: https://go-review.googlesource.com/c/website/+/500775 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Russ Cox <rsc@golang.org>
2023-05-20_content/ref: note "go get" reject -mod flagSean Liao
Fixes golang/go#44760 Change-Id: I09c7dcf4dc2b7185cfbbbab063d23bcdfbb1119d Reviewed-on: https://go-review.googlesource.com/c/website/+/475715 Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com>
2023-05-11_content/ref: remove go get from build commandsSean Liao
Fixes golang/go#60110 Change-Id: I4513db35a100695801a29c33783061f1b485197d Reviewed-on: https://go-review.googlesource.com/c/website/+/494235 Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Bryan Mills <bcmills@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
2023-01-27_content/ref: mention '-reuse' flag in go mod download sectionHana (Hyang-Ah) Kim
The section was copied from `go help mod download`. Change-Id: Icca24cf1cbd4051332df21843ffd2ff818d77d2d Reviewed-on: https://go-review.googlesource.com/c/website/+/463875 Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com>
2022-10-21_content/ref/mod.md: add more retraction examplesHana (Hyang-Ah) Kim
Borrowed from https://seankhliao.com/blog/12021-10-17-go-mod-retract/ Updates golang/go#55834. Change-Id: I10883a74f16caad6b62937778b09286cfd2d76d5 Reviewed-on: https://go-review.googlesource.com/c/website/+/443400 Reviewed-by: Jamal Carvalho <jamal@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
2022-10-14_content/ref: update module fieldsSean Liao
Fixes golang/go#51163 Change-Id: If2390fba29786a97f789f99434ea282849264ade Reviewed-on: https://go-review.googlesource.com/c/website/+/394818 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> Auto-Submit: Bryan Mills <bcmills@google.com>
2022-10-06_content/{ref,doc}: remove -d from go get examplesRoger Peppe
The `-d` flag to `go get` in module mode is a no-op, as witness the following comment from the code: // TODO(#43684): in the future (Go 1.20), warn that -d is a no-op. if !*getD { base.Fatalf("go: -d flag may not be disabled") } Thus it's misleading, so remove it. Change-Id: I0cf61d61b561d010d00f6044a5c07ca8f3bd117f Reviewed-on: https://go-review.googlesource.com/c/website/+/439695 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
2022-10-06_content/ref: add missing `)` in "go.work files" documentationAlberto Bertogli
Change-Id: I8a1f69214f4738bb4bab49200780d997a2948ce8 Reviewed-on: https://go-review.googlesource.com/c/website/+/431615 Reviewed-by: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Run-TryBot: Bryan Mills <bcmills@google.com>
2022-08-26_content: consistently use main module instead of root moduleSean Liao
Fixes golang/go#52227 Change-Id: I9b5211a071eb92a8629d8f97c5f3842ae0ec6b37 Reviewed-on: https://go-review.googlesource.com/c/website/+/421895 Auto-Submit: Bryan Mills <bcmills@google.com> Run-TryBot: hopehook <hopehook@qq.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: hopehook <hopehook@qq.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com>
2022-06-27ref: fix typo to GOWORKetakahashi
Fixes golang/go#53550 Change-Id: I1d354930c9482ab6f85852b900baf09de2472760 Reviewed-on: https://go-review.googlesource.com/c/website/+/414154 Auto-Submit: Carlos Amedee <carlos@golang.org> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Carlos Amedee <carlos@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
2022-06-15all: fix a lot of typosFrederik Zipp
Change-Id: I0754d18f4c3c3d5dfa0c34b4bc154a35ac20b917 Reviewed-on: https://go-review.googlesource.com/c/website/+/411794 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
2022-05-24_content/doc: fix inconsistent tabs in code snippetsGeorge Looshch
Replace real tabs with 4 spaces in code snippets to make indentation consistent Fixes golang/go#52255 Change-Id: Ida06a1dd2c2cd3100c32d6c29febf60aba2e20d7 Reviewed-on: https://go-review.googlesource.com/c/website/+/399374 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2022-05-09mod.md: correct some linksmatsuyoshi
Change-Id: Ib0c4611c84c7eca652c6128faa8645be7c9ec9f0 Reviewed-on: https://go-review.googlesource.com/c/website/+/362034 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Carlos Amedee <carlos@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com>
2022-03-21_content/ref: update the modules reference for GOWORKMichael Matloob
The -workfile flag's function has been absorbed by the GOWORK environment variable. Update the workspaces reference to reflect that. Also fix an error in the workspaces tutorial. For golang/go#45713 Change-Id: Id8dc8bb8dc6458d03d7b947ec78d84263d9689e1 Reviewed-on: https://go-review.googlesource.com/c/website/+/393360 Trust: Michael Matloob <matloob@golang.org> Run-TryBot: Michael Matloob <matloob@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Beth Brown <ecbrown@google.com>
2022-02-01_content/ref/mod: "go 1.16" is the default in go.modIan Lance Taylor
Fixes golang/go#47662 Change-Id: Ie4d327a48d426ce1cd4a5bd411186143fecf00e1 Reviewed-on: https://go-review.googlesource.com/c/website/+/381895 Reviewed-by: Bryan Mills <bcmills@google.com> Trust: DO NOT USE <iant@google.com>
2022-02-01_content/ref: update ref/mod for workspacesMichael Matloob
Add entries for go.work files and the new go work commands to golang.org/ref/mod. For golang/go#45713 Change-Id: I1ad3335f977fad864d75790e31e48ee34e531ff5 Reviewed-on: https://go-review.googlesource.com/c/website/+/379655 Reviewed-by: Bryan Mills <bcmills@google.com> Trust: Michael Matloob <michaelmatloob@gmail.com>
2021-11-22all: make golang.org and go.dev links relativeRuss Cox
Now that there is one site, update all golang.org links to go.dev. But for any links being served from go.dev, make host-relative, so that when serving golang.google.cn, we stay on that host as much as possible. Change-Id: Id6e1303059b5522846a64202bc1a8b81dc3854cd Reviewed-on: https://go-review.googlesource.com/c/website/+/365095 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-11-10_content/ref/mod: document '-o' flag for go mod vendorPaschalis Tsilias
For golang/go#47327 Change-Id: I8f6a4da541be4d95aa8b420b0294a0c1e78b8a0b Reviewed-on: https://go-review.googlesource.com/c/website/+/362814 Reviewed-by: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org> Trust: Than McIntosh <thanm@google.com>
2021-10-11_content/ref/mod: fix typoRodolfo Carvalho
Change-Id: I5581e2e62ab449826cc6086cd1948fdd7021563f GitHub-Last-Rev: f1e468fb0c1cebd889b42ee83d7b393089f978c7 GitHub-Pull-Request: golang/website#99 Reviewed-on: https://go-review.googlesource.com/c/website/+/355030 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Trust: Daniel Martí <mvdan@mvdan.cc> Trust: Alberto Donizetti <alb.donizetti@gmail.com>
2021-09-13_content/ref/mod: document 'go install cmd@version' ignores vendorJay Conrod
For golang/go#48332 Change-Id: I3e1b6228ce2ef6c78b851bffb79b48e9ac06aad0 Reviewed-on: https://go-review.googlesource.com/c/website/+/349590 Trust: Jay Conrod <jayconrod@google.com> Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
2021-08-24_content/ref/mod: document that module paths can't contain short namesJay Conrod
Fixes golang/go#47493 Change-Id: I97d929e646b107766ed44f9bd120ab07e15429e4 Reviewed-on: https://go-review.googlesource.com/c/website/+/344569 Trust: Jay Conrod <jayconrod@google.com> Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org>
2021-08-23_content/ref/mod: document that nested modules are ignored in zip filesJay Conrod
Change-Id: Idde807eb94041967c335a49973e59dbf70a7f5be Reviewed-on: https://go-review.googlesource.com/c/website/+/342531 Trust: Jay Conrod <jayconrod@google.com> Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org>
2021-08-18cmd/golangorg: move blog from blog.golang.org to go.dev/blogRuss Cox
This is the first of a sequence of consolidations of web sites into the single site go.dev. An accompanying blog post (next CL) will explain the change. The blog/_content tree moves to go.dev/_content/blog. The *.article files were converted to *.md files using rsc.io/tmp/blog2md. The old dot directives are now template function invocations, so that blog content files are now exactly the same format and semantics as regular site content files. All the old blog redirects are carried forward, of course. Also add exhaustive test that every .md file renders correctly. Also rename rawhtml to raw, because it gets used for raw Markdown too. The raw Markdown issue is working around a bigger problem (html/template is not really right for Markdown) that we will have to solve at some point, but not in this CL. Change-Id: Ifa9b3b8d656a72af30d0d4e57e4c7bc8dacbc386 Reviewed-on: https://go-review.googlesource.com/c/website/+/342091 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-08-17cmd/golangorg: fix ref/mod to be template-safe and add exhaustive template ↵Russ Cox
syntax test Fixes golang/go#47751. Change-Id: I28a979eee3c75749449291d0b60bc64a6d761ae0 Reviewed-on: https://go-review.googlesource.com/c/website/+/342899 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-08-16_content/ref/mod: document that vendor is omitted in zip filesJay Conrod
Change-Id: I7d9b06102cdbb5d86ab04064b98e867c9e47d095 Reviewed-on: https://go-review.googlesource.com/c/website/+/340509 Trust: Jay Conrod <jayconrod@google.com> Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
2021-08-06_content/ref/mod: update terminology for Go 1.17 changesBryan C. Mills
For golang/go#47397 Change-Id: I7046bddb17bdd7957603e16580e7c9bab4a8c05a Reviewed-on: https://go-review.googlesource.com/c/website/+/339991 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@google.com>
2021-08-05_content/ref/mod: document special case for LICENSEJay Conrod
Change-Id: Ie15dc10304d430d1fb3201931fc5c161581f79ea Reviewed-on: https://go-review.googlesource.com/c/website/+/340209 Trust: Jay Conrod <jayconrod@google.com> Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Bryan C. Mills <bcmills@google.com>
2021-07-29_content/ref/mod: explain what 'go install' does for non-main packagesJay Conrod
Change-Id: Ic4cf4566172af543cf58abc6c701a0c24f1866fe Reviewed-on: https://go-review.googlesource.com/c/website/+/338349 Trust: Jay Conrod <jayconrod@google.com> Run-TryBot: Jay Conrod <jayconrod@google.com> Reviewed-by: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org>
2021-07-19_content/doc/modules/gomod-ref: add links to /ref/modBryan C. Mills
Also update the list of behaviors controlled by the go directive for Go 1.17. Change-Id: Ie9eee13f0c43efd41f97d8d7c30a5ec354064776 Reviewed-on: https://go-review.googlesource.com/c/website/+/335141 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Steve Traut <straut@google.com>