diff --git a/scripts/make-rules/golang.mk b/scripts/make-rules/golang.mk index cc54d017a..f57c77bc1 100644 --- a/scripts/make-rules/golang.mk +++ b/scripts/make-rules/golang.mk @@ -183,7 +183,7 @@ go.test.cover: go.test.junit-report ## go.format: Run unit test and format codes .PHONY: go.format go.format: tools.verify.golines tools.verify.goimports - @echo "===========> Formating codes" + @echo "===========> Formatting codes" @$(FIND) -type f -name '*.go' -not -name '*pb*' | $(XARGS) gofmt -s -w @$(FIND) -type f -name '*.go' -not -name '*pb*' | $(XARGS) $(TOOLS_DIR)/goimports -w -local $(ROOT_PACKAGE) @$(FIND) -type f -name '*.go' -not -name '*pb*' | $(XARGS) $(TOOLS_DIR)/golines -w --max-len=200 --reformat-tags --shorten-comments --ignore-generated .