Fixed golint and go vet errors.