File Operations in Go
Jump to navigation
Jump to search
Internal
Overview
Basic file read and write, by reading or writing the entire file, is provided by the ioutil
package
. An entire file is read in memory with
ioutil.ReadFile()
and the entire file content, stored in memory, can be written with ioutil.WriteFile()
. For basic file operations with the ioutil
package see: