summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-09-21 20:15:31 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-09-21 21:38:41 +0200
commit1e9b87f7602711fcf84069e03bbae6e0c08f73d1 (patch)
tree2ccbec2b2561eda49659dab2a63baf3d021dee7d /scripts
parent275c0acbf6095adbe685f25e6cf250d91343afa5 (diff)
Upgrade to Go 1.21.1
See https://github.com/golang/go/issues?q=milestone%3AGo1.21.1+label%3ACherryPickApproved Fixes #11474 Fixes #11414
Diffstat (limited to 'scripts')
-rw-r--r--scripts/fork_go_templates/main.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/fork_go_templates/main.go b/scripts/fork_go_templates/main.go
index 30c61e585..4ab89a547 100644
--- a/scripts/fork_go_templates/main.go
+++ b/scripts/fork_go_templates/main.go
@@ -16,7 +16,7 @@ import (
)
func main() {
- // The current is built with c19c4c566c HEAD, tag: go1.21.0.
+ // The current is built with 2c1e5b05fe39fc5e6c730dd60e82946b8e67c6ba, tag: go1.21.1.
fmt.Println("Forking ...")
defer fmt.Println("Done ...")
@@ -162,7 +162,8 @@ func copyGoPackage(dst, src string) {
func doWithGoFiles(dir string,
rewrite func(name string),
- transform func(name, in string) string) {
+ transform func(name, in string) string,
+) {
if rewrite == nil && transform == nil {
return
}