mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 03:06:41 +08:00
Fix in 12.2
This commit is contained in:
@@ -71,7 +71,7 @@ func main() {
|
|||||||
// panic(err.Error())
|
// panic(err.Error())
|
||||||
}
|
}
|
||||||
fmt.Printf("%s\n", string(buf))
|
fmt.Printf("%s\n", string(buf))
|
||||||
err = ioutil.WriteFile(outputFile, buf, 0x644)
|
err = ioutil.WriteFile(outputFile, buf, 0644) // oct, not hex
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err. Error())
|
panic(err. Error())
|
||||||
}
|
}
|
||||||
|
@@ -14,7 +14,7 @@ func main() {
|
|||||||
panic(err.Error())
|
panic(err.Error())
|
||||||
}
|
}
|
||||||
fmt.Printf("%s\n", string(buf))
|
fmt.Printf("%s\n", string(buf))
|
||||||
err = ioutil.WriteFile(outputFile, buf, 0x644)
|
err = ioutil.WriteFile(outputFile, buf, 0644) // oct, not hex
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err.Error())
|
panic(err.Error())
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user