Add linting (#23)

Adds linting and fixes a couple of linting issues. Closes #6.
This commit is contained in:
Thomas Stringer 2022-06-29 21:02:36 -04:00 committed by GitHub
parent 14ea447010
commit 816ea3dd2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View file

@ -19,3 +19,7 @@ push:
.PHONY: test
test:
go test -v .
.PHONY: lint
lint:
docker run --rm -v $$(pwd):/app -w /app golangci/golangci-lint:v1.46.2 golangci-lint run -v