Dev Skills
Go·Section 5 of 15 · 3 lessons · about 2 h 30 min

Generics and stdlib in Go (Golang)

Write one function that works for many types, and learn which built-in packages you will use most.

  1. 01Generics
    Write one function for many types, and know when an interface is the better answer.
    Graded challenge
  2. 02Iterators and range over functions
    What `range` can loop over since Go 1.22 and 1.23, and why `maps.Keys` returns a function.
    Graded challenge
  3. 03The standard library
    The packages that already do what you were about to write.
    Graded challenge