Answers for "golang read file"

Go
2

golang read file

dat, err := ioutil.ReadFile("/tmp/dat")
    check(err)
    fmt.Print(string(dat))
Posted by: Guest on November-02-2020

Browse Popular Code Answers by Language