You should be linting your Go code with Hound.

Read more at the source