Prefer table driven tests

TLDR

Good introduction of “%#v” format and Google’s go-cmp library.

Read more