mirror of https://github.com/golang/go.git
Remove executable bits from `os.OpenFile` example
This commit is contained in:
parent
fe5af1532a
commit
638f3beefe
|
|
@ -15,7 +15,7 @@ import (
|
|||
)
|
||||
|
||||
func ExampleOpenFile() {
|
||||
f, err := os.OpenFile("notes.txt", os.O_RDWR|os.O_CREATE, 0755)
|
||||
f, err := os.OpenFile("notes.txt", os.O_RDWR|os.O_CREATE, 0644)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue