To get started with test code, I'd recommend https://github.com/cweill/gotests
It also includes a plugin for Sublime or just use the command line to generate it for your whole project.
Then once you head over to https://gocover.io/, it will generate a coverage report for you.