* Add go.mod
So that working with it outside of GOPATH works.
Note that the full test suite doesn't work well with modules, as some
tests assume the presence of GOPATH. That's okay for now.
* Fix staticcheck warning
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.