Deviopath › Go

Repository Port

Hard · Architecture

Hexagonal style: a UserRepo interface { Get(id string) string } (empty string means missing). Service greets "Hello, <name>" or "missing".

Write Greet(repo, id). RunGreet(id, stored) is already written with a map-backed repo.

Next: Idempotent Put