Add Makefile targets for go vet and go fix, use named struct fields in tests, apply go fix improvements

This commit is contained in:
Dan Jones 2026-03-01 07:59:31 -06:00
commit 30a5786adf
7 changed files with 34 additions and 28 deletions

View file

@ -24,6 +24,13 @@ clean: ## Removes temporary and build files
fmt: $(SOURCES) ## Runs go fmt
go fmt ./...
.PHONY: fix ## Run go fix
go fix ./...
.PHONY: vet ## Runs go vet
vet: fmt fix
go vet ./...
.PHONY: test
test: ## Test application and generate coverage report
$(MAKE) clean