phase 0 · 0.2-go-toolchain
Go toolchain — the red/green TDD loop
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.