-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 [email protected] 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 <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]>
- Loading branch information
Showing
6 changed files
with
6 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module golang.org/dl | ||
|
||
go 1.11 | ||
go 1.18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
// license that can be found in the LICENSE file. | ||
|
||
//go:build go1.13 | ||
// +build go1.13 | ||
|
||
package main | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters