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.
- 01How to lay a Go project outWhat a package is, the three layouts you will meet, and what each common folder is for.
- 02Practice 1 — CRUD, the easy wayOne file, one package, no database. Get the four operations working before you add anything else.
- 03Practice 2 — CRUD, split into layersThe same task list, now in packages with a real database behind it.
- 04Practice 3 — CRUD, one folder per featureThe final layout, and the one the rest of this track is built on.