courses / go

learn go

Three levels, from never written code to writing it like a professional. Simple, fast and built for the cloud.

build things that are actually useful.

For people who finished Level 1, or can already write small programs with variables, decisions, loops and functions.

1 unit 1 Maps Look things up by name instead of by number. 0 of 4 · 36 min
  1. Making a map8 min
  2. Changing a map9 min
  3. Is it really there?9 min
  4. Counting and walking a map10 min
2 unit 2 Methods and pointers Give your own types their own commands. 0 of 4 · 38 min
  1. Methods9 min
  2. Pointers10 min
  3. Pointer receivers9 min
  4. nil and constructors10 min
3 unit 3 Interfaces Write code that works with many different types. 0 of 4 · 38 min
  1. Interfaces10 min
  2. The Stringer8 min
  3. Writers10 min
  4. Errors are values10 min
4 unit 4 Handle what goes wrong Plan for problems instead of crashing. 0 of 4 · 38 min
  1. Making your own errors9 min
  2. Wrapping errors10 min
  3. Your own error types10 min
  4. defer9 min
5 unit 5 The toolbox Use the ready-made tools that come with Go. 0 of 4 · 38 min
  1. Strings in depth9 min
  2. Formatting verbs9 min
  3. Sorting your own way10 min
  4. Dates and times10 min
6 unit 6 Files and JSON Save your data and share it with other programs. 0 of 4 · 39 min
  1. Files9 min
  2. Reading line by line10 min
  3. JSON out10 min
  4. JSON in10 min
7 unit 7 The web Answer web requests like a real server. 0 of 4 · 44 min
  1. Handlers10 min
  2. Routes and status codes11 min
  3. A JSON API12 min
  4. panic and recover11 min
end of level 2 level check Build one small project with everything from this level. Pass it and your face levels up. see the check