Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Commit the file contents
- // Flushes memory to disk
- err = newFile.Sync()
- if err != nil {
- log.Fatal(err)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement