Граф коммитов

3 Коммитов

Автор SHA1 Сообщение Дата
Dmitri Shuralyov 294a5db026 all: switch to go install path@latest syntax in documentation
All supported versions of Go can download golang.org/dl/... commands
via the new go install path@latest syntax. Update their documentation
accordingly.

Also update the golang.org/dl/internal/genv generator template for
future commands that will be added when new Go releases are made.

Fixes golang/go#48080.

Change-Id: I0abf80e944322f3e30f7eb1b03b5d8d3be25554d
Reviewed-on: https://go-review.googlesource.com/c/dl/+/346091
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2021-08-31 19:03:21 +00:00
Agniva De Sarker af982ab559 internal/genv: fix release notes link for minor versions
Also corrected the code in case of unrecognized version.

According to the docs, nil is returned when the regex does not match.
And in case of a partial or full match, the length of the slice
is always equal to the no. of subexpressions.
For the subexpressions that did not match, the string will be empty.

So the length check was logically wrong. It's just that since the length
of a nil slice is 0, it accidentally turned out to be correct.

Fixes golang/go#26976

Change-Id: Ic9e43d13877d747df20c15949436e355d2fd448d
Reviewed-on: https://go-review.googlesource.com/c/160920
Reviewed-by: Filippo Valsorda <filippo@golang.org>
2019-02-04 18:27:17 +00:00
Dmitri Shuralyov 296657f8e9 dl: add go1.11.1
Go 1.11.1 has been released, so add a command for it.

Reference: https://golang.org/doc/devel/release.html#go1.11.minor.

Change-Id: I32167ed75fe04a84ba4cdfa1fc9172238d67d88d
Reviewed-on: https://go-review.googlesource.com/139017
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-10-02 17:17:21 +00:00