format repo with "gofumpt" tool
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ func main() {
|
||||
if err != nil {
|
||||
log.Panic(err)
|
||||
}
|
||||
err = os.WriteFile("properties_enum.go", formattedSource, 0666)
|
||||
err = os.WriteFile("properties_enum.go", formattedSource, 0o666)
|
||||
if err != nil {
|
||||
log.Panic(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user