mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 06:00:25 +03:00
Upgrade to Go 1.21.1
See https://github.com/golang/go/issues?q=milestone%3AGo1.21.1+label%3ACherryPickApproved Fixes #11474 Fixes #11414
This commit is contained in:
parent
275c0acbf6
commit
1e9b87f760
7 changed files with 191 additions and 49 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue