hariprasadraja
10/3/2019 - 9:15 AM

go file save/sync

commits the file content

// Commit the file contents
	// Flushes memory to disk
	err = newFile.Sync()
	if err != nil {
		log.Fatal(err)
	}