Browse Source

//what does file mode 0600 mean?

master
Aldrnari 6 months ago
parent
commit
ac1b0a5c03
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      main.go

+ 3
- 2
main.go View File

@ -13,5 +13,6 @@ type Page struct {
}
func (p *Page) save() error {
return ioutil.WriteFile(p.Title + ".txt", p.Body, 0600)
}
return ioutil.WriteFile(p.Title + ".txt", p.Body, 0600) //what does file mode 0600 mean?
}

Loading…
Cancel
Save