Use github.com/maruel/git-hooks-go and disable golint.

Update the code to make it work with the checks.