Golng Open File Tambahkan

filename := "test.txt"
f, err := os.OpenFile(filename, os.O_APPEND|os.O_WRONLY|os.O_CREATE, 0600)
if err != nil {
	panic(err)
}
defer f.Close()
smjure