File Operations in Go

From NovaOrdis Knowledge Base
Revision as of 18:00, 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 also provided by the ioutil package, but its ioutil.ReadFile and ioutil.WriteFile are deprecated since Go 1.16.

The os package provides actual file access functions.