A static analysis tool that checks for global variables in Go code.
$ go get -u github.com/codingconcepts/globocop
$ globocop ./examples
/.../examples/example.go:6:2: global var "unexportedVariable"
/.../examples/example.go:10:2: global var "ExportedVariable"
exit status 3