Skip to content

Glossary: Go Basics

Variable

Also written: variables

A name that stores a value. `:=` creates one, and `=` changes it.

Where the book teaches it

Related terms

:= (short variable declaration)var