Skip to content

Glossary: Data Structures and Algorithms in Go

Rune

Also written: runes, []rune

Go's type for a single character, written in single quotes. Converting a string to `[]rune` gives one value per character, so accented letters reverse correctly.

Where the book teaches it

Related terms

Immutable