Skip to content

Glossary: Go Basics

Byte

Also written: bytes, []byte

The small unit text and files are stored in. English letters take one byte, but accented letters such as é take two, and `[]byte` is a slice holding a file's raw contents.

Where the book teaches it