Theory

Two tools — gofmt and go vet

Your app has grown over 7 lessons — time for two tools that in the Go world are not "good manners" but the norm.

gofmt — the formatter. One style for the whole Go community: spaces, alignment, brace placement. Not debated — executed:

gofmt -w .

-w rewrites files in place. Checking without rewriting:

gofmt -l .

-l lists the unformatted files. Empty output = everything clean. That IS this lesson's Verify — not program output, but silent tools.

go vet — the bug sniffer. The formatting can be perfect while the code is suspicious; vet catches exactly that:

go vet ./...

What it finds: Printf("%d", "text") — a verb that does not match the type; unreachable code after return; suspicious comparisons. Again: empty output = clean.

Tip. A habit worth keeping: before every submission (and later — before every commit) — gofmt -w . and go vet ./.... Thirty seconds, and your code always looks professional. In the final project this is a graded checklist item.