Skip to content

Glossary: Go Basics

os.ReadFile and os.WriteFile

Also written: os.ReadFile, os.WriteFile, ReadFile, WriteFile

Functions that read or write a whole file at once, working with `[]byte`.

Where the book teaches it