Dev Skills
Go·Section 1 of 15 · 8 lessons · about 6 h 30 min

Getting started in Go (Golang)

Install it, run something, and meet the ideas that make Go different from what you already know.

  1. 01Setup, your first program, and the toolchain
    Install Go, run one file, and meet the four commands you will use every day.
  2. 02Syntax, comments, and naming
    The shape every Go file takes, and the naming rules the whole ecosystem follows.
  3. 03Printing and format verbs
    The three printing functions, and the verbs you will use every day.
  4. 04Basic data types
    Every built-in type, why there are so many integer sizes, and what to actually use.
  5. 05Constants and iota
    Values fixed at compile time, and how Go does enums without an enum keyword.
  6. 06Operators
    Arithmetic, comparison, logical, and bitwise, plus what Go leaves out on purpose.
    Graded challenge
  7. 07Type conversion
    Why Go refuses to turn an int into a float for you.
  8. 08if, for, and switch
    One loop keyword, no ternary, and cases that do not fall through.
    Graded challenge