Getting started in Go (Golang)
Install it, run something, and meet the ideas that make Go different from what you already know.
- 01Setup, your first program, and the toolchainInstall Go, run one file, and meet the four commands you will use every day.
- 02Syntax, comments, and namingThe shape every Go file takes, and the naming rules the whole ecosystem follows.
- 03Printing and format verbsThe three printing functions, and the verbs you will use every day.
- 04Basic data typesEvery built-in type, why there are so many integer sizes, and what to actually use.
- 05Constants and iotaValues fixed at compile time, and how Go does enums without an enum keyword.
- 06OperatorsArithmetic, comparison, logical, and bitwise, plus what Go leaves out on purpose.Graded challenge
- 07Type conversionWhy Go refuses to turn an int into a float for you.
- 08if, for, and switchOne loop keyword, no ternary, and cases that do not fall through.Graded challenge