diff options
author | Bjørn Erik Pedersen <[email protected]> | 2023-09-21 20:15:31 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-09-21 21:38:41 +0200 |
commit | 1e9b87f7602711fcf84069e03bbae6e0c08f73d1 (patch) | |
tree | 2ccbec2b2561eda49659dab2a63baf3d021dee7d /scripts | |
parent | 275c0acbf6095adbe685f25e6cf250d91343afa5 (diff) | |
download | hugo-1e9b87f7602711fcf84069e03bbae6e0c08f73d1.tar.gz hugo-1e9b87f7602711fcf84069e03bbae6e0c08f73d1.zip |
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.go | 5 |
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 } |