format repo with "gofumpt" tool

This commit is contained in:
Tnze
2022-11-26 20:37:57 +08:00
parent 7814e7b1ab
commit fad92fe364
61 changed files with 333 additions and 268 deletions

View File

@ -70,7 +70,7 @@ func genSourceFile(states []State) {
panic(err)
}
err = os.WriteFile("blocks.go", formattedSource, 0666)
err = os.WriteFile("blocks.go", formattedSource, 0o666)
if err != nil {
panic(err)
}