Fix staticcheck warning, add Makefile with staticcheck targets, lock in staticcheck version in go.mod

This commit is contained in:
Brad Fitzpatrick
2020-06-15 11:04:19 -07:00
parent d9fd5db1e1
commit 6757c990a8
4 changed files with 23 additions and 1 deletions

7
Makefile Normal file
View File

@@ -0,0 +1,7 @@
usage:
echo "See Makefile"
check: staticcheck
staticcheck:
go run honnef.co/go/tools/cmd/staticcheck -- $$(go list ./... | grep -v tempfork)