Adapt usage of golint to new behavior

`golint .` no longer works as it used to.

See https://github.com/golang/lint/issues/58