Skip to content

Instantly share code, notes, and snippets.

@suzuken
Created February 5, 2015 07:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suzuken/8289a8c830945fd44798 to your computer and use it in GitHub Desktop.
Save suzuken/8289a8c830945fd44798 to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
"io/ioutil"
)
func main() {
err := ioutil.WriteFile("/tmp/hoge", []byte("testtest"), 0777)
if err != nil {
fmt.Printf("[ERR] %s", err)
return
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment