package main
import (
"os"
)
func main() {
file, err := os.Create("test.txt")
if err != nil {
panic(err)
}
file.Write([]byte("os.File example\n"))
file.Close()
}
Created
March 21, 2018 22:18
-
-
Save dorako321/967f2d276584ef7f5cdb0f024624798f to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment