commit | ed78e44032ae386b49cab30647da6722814f40bd | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <dmitshur@golang.org> | Tue Sep 11 03:25:19 2018 +0000 |
committer | Dmitri Shuralyov <dmitshur@golang.org> | Tue Sep 11 03:26:01 2018 +0000 |
tree | 4fdf962c9418ce029b93cf22670d971b7350a603 | |
parent | 60e9c3299d84559cae581fe3818300813eb9ba1b [diff] |
internal/version: simplify versionArchiveURL versionArchiveURL always return nil error. It's unexported, so it's easy to simplify it. If it needs to return an error in the future, it can be changed accordingly at that time. Also move goURL declaration just before use, rather than earlier. Change-Id: I7f16e42b35852cb7bfb5b854e8be7a468e7efdde GitHub-Last-Rev: a609f1c6c6a5d84fe392f9e132dd46bea4b35b60 GitHub-Pull-Request: golang/dl#2 Reviewed-on: https://go-review.googlesource.com/134435 Reviewed-by: Andrew Bonventre <andybons@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
.
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.