GoLang alternatives for PHP functions
[code=golang] d1 := []byte("hello\ngo\n") err := ioutil.WriteFile("/tmp/dat1", d1, 0644) [/code]