go-dojo
learn go · earn mastery
phase 1 · 1.4-pointers-slices-maps

Pointers, slices, maps — KV REPL

prereqs 1.1-hello-world0.3-types-zero-values
review intervals 3d 7d 21d 60d

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

- In-memory KV store (map) with Get/Set/Delete
- CLI REPL: SET/GET/DEL commands over stdin
- Two benchmarks comparing map access patterns
- Articulate: when you'd pass a *T vs T, and why "pass the pointer if it's big" isn't the only reason

Verify

Run from your go-dojo repo root:

go-dojo verify 1.4-pointers-slices-maps

This runs the task's go test suite in exercises/phase-1/1.4-pointers-slices-maps/, commits the attempt to .go-dojo/attempts/, and updates your mastery.