commit | af982ab5594b6fc8e23ca54e1fb53b6499eef6ef | [log] [tgz] |
---|---|---|
author | Agniva De Sarker <agnivade@yahoo.co.in> | Mon Feb 04 11:05:06 2019 +0530 |
committer | Filippo Valsorda <filippo@golang.org> | Mon Feb 04 18:27:17 2019 +0000 |
tree | 55c2b08126841565dc6a1be2412b979de98d8a74 | |
parent | eb5f36764f93a47620398326233d5428d1706a59 [diff] |
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>
This repository holds the Go wrapper programs that run specific versions of Go, such as go get golang.org/dl/go1.10.3
and go get golang.org/dl/gotip
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “dl:” in the subject line, so it is easy to find.