File Operations in Go

From NovaOrdis Knowledge Base
Revision as of 17:52, 25 August 2023 by Ovidiu (talk | contribs) (→‎Overview)
Jump to navigation Jump to search

Internal

Overview

Basic file read and write, by reading or writing the entire file into and from memory, is provided by the ioutil package. An entire file is read in memory with ioutil.ReadFile() and memory content can be written into a file with ioutil.WriteFile(). For basic file operations with the ioutil package see:

x