Dev Skills
Go·Section 9 of 15 · 4 lessons · about 4 h

Practice projects in Go (Golang)

Build the same CRUD API three times, in three layouts, so the trade-offs are something you have felt rather than read.

  1. 01How to lay a Go project out
    What a package is, the three layouts you will meet, and what each common folder is for.
  2. 02Practice 1 — CRUD, the easy way
    One file, one package, no database. Get the four operations working before you add anything else.
  3. 03Practice 2 — CRUD, split into layers
    The same task list, now in packages with a real database behind it.
  4. 04Practice 3 — CRUD, one folder per feature
    The final layout, and the one the rest of this track is built on.