| commit | 2a66dfb9a9cf29fab51425f5c052d40437875c70 | [log] [tgz] |
|---|---|---|
| author | Dmitri Shuralyov <dmitshur@golang.org> | Tue Nov 07 13:17:59 2023 -0500 |
| committer | Gopher Robot <gobot@golang.org> | Tue Nov 07 20:11:53 2023 +0000 |
| tree | 0802208933effb734cb7f9e090cb60c647612e2f | |
| parent | 8125cd0cb02bf1ec91d6a06e70b95803598e76be [diff] |
all: update go directive to 1.18 [generated]
Update the go directive to 1.18, and modernize the module by
applying changes generated by the script below with go1.21.4.
For golang/go#60268.
[git-generate]
go get go@1.18
go mod tidy
go fix ./...
gofmt -r 'ioutil.ReadAll -> io.ReadAll' -w .
gofmt -r 'ioutil.WriteFile -> os.WriteFile' -w .
gofmt -r '"ioutil.WriteFile: %v" -> "os.WriteFile: %v"' -w .
gofmt -r 'interface{} -> any' -w .
goimports -w .
Change-Id: I34a020389eb7f5b90f93da12595604c4a0134eae
Reviewed-on: https://go-review.googlesource.com/c/dl/+/540221
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
This repository holds the Go wrapper programs that run specific versions of Go, such as go install golang.org/dl/go1.10.3@latest and go install golang.org/dl/gotip@latest.
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.