Learn Go: Fundamentals
The essentials of Go in three short modules: how a Go program is structured, compiled and run; typed variables, constants and conversions; and printing, formatting and scanning text with the fmt package.
- Beginner level
- 4 modules
- 22 lessons
- 94 tasks and questions
Syllabus
01Go BasicsMeet Go, see how a Go program is structured, compiled and run, learn to read compiler errors, and use packages, imports and comments.7 lessons
02Variables and TypesStore values in typed variables and constants, learn Go's basic types and their zero values, calculate with numbers and convert between types.7 lessons
03Formatting with fmtPrint exactly what you mean with the fmt package: Print, Println and Printf, formatting verbs and widths, building strings with Sprintf, and scanning values from text.6 lessons
04Putting It TogetherA final project that combines program structure, typed variables and formatted output, plus pointers to what to learn next.2 lessons