gometalinter --deadline=5s ./... --json | ./goml2checkstyle.rb > checkstyle.xml
If the output doesn't show up, the prefix path might not be detected correctly. Pass the path in manually then:
gometalinter --deadline=5s ./... --json | ./goml2checkstyle.rb /absolute/path/to/the/files > checkstyle.xml