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

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 23b197b7cf dl: add go1.11.3 and go1.10.6
Go 1.11.3 and 1.10.6 have been released, add commands for them.

Reference: https://groups.google.com/d/msg/golang-announce/Kw31K8G7Fi0/z2olKn-QCAAJ.

Change-Id: I0aafcff9517f17d59fb2bb945db0e22e294f1fd2
Reviewed-on: https://go-review.googlesource.com/c/154198
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-12-14 18:10:21 +00:00