All lessons

Variables

7 min · Go

Store values in named boxes called variables.

Go · Variables0/5 cleared

Enemy 1 of 5

The quickest way to make a variable in Go is name := value — Go figures out the type for you.

Then use the name anywhere instead of the value.

You
Cold-Start Frostling

Loading editor...

Ln 1, Col 1Spaces: 4
Sign up to fightTarget output: Ada