Fix go vet issues

Fix all issues raised by ``go vet``.