go-dojo
learn go · earn mastery
phase 0 · 0.2-go-toolchain

Go toolchain — the red/green TDD loop

review intervals 3d 7d 21d 60d drills go-fmt-vet-cycle

The lesson for this task hasn't been written yet. The mastery criteria below is the shortest description of what you'll own when this task is green.

Mastery criteria

- Install Go; `go env` and `go version` work
- `go mod init` a fresh module, write a failing test, make it pass
- `go vet` and `go fmt` clean a file you wrote on purpose poorly
- Articulate why Go has no REPL and why TDD is the natural substitute

Verify

Run from your go-dojo repo root:

go-dojo verify 0.2-go-toolchain

This runs the task's go test suite in exercises/phase-0/0.2-go-toolchain/, commits the attempt to .go-dojo/attempts/, and updates your mastery.