Commit 532e70f3 authored by madengji's avatar madengji Committed by 33cn

add fmt_go

parent 4f291c71
...@@ -107,7 +107,9 @@ fmt_proto: ## go fmt protobuf file ...@@ -107,7 +107,9 @@ fmt_proto: ## go fmt protobuf file
fmt_shell: ## check shell file fmt_shell: ## check shell file
@find . -name '*.sh' -not -path "./vendor/*" | xargs shfmt -w -s -i 4 -ci -bn @find . -name '*.sh' -not -path "./vendor/*" | xargs shfmt -w -s -i 4 -ci -bn
fmt_go: fmt_shell ## go fmt
@go fmt ./...
@find . -name '*.go' -not -path "./vendor/*" | xargs goimports -l -w
coverage: ## Generate global code coverage report coverage: ## Generate global code coverage report
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment