add go-mod-tidy targets to Makefiles

This commit is contained in:
Willy Kloucek
2020-12-18 15:43:49 +01:00
parent 738a32f9b1
commit d2e4c69aee
15 changed files with 76 additions and 0 deletions

View File

@@ -63,6 +63,10 @@ clean:
go clean -i ./...
rm -rf $(BIN) $(DIST)
.PHONY: go-mod-tidy
go-mod-tidy:
@go mod tidy
.PHONY: fmt
fmt:
gofmt -s -w $(SOURCES)