Skip to content

Commit cb18941

Browse files
appleboybkcsoft
authored andcommitted
replcae go fmt with gofmt command.
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent 6510e57 commit cb18941

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ clean:
3434

3535
.PHONY: fmt
3636
fmt:
37-
go fmt $(PACKAGES)
37+
find . -name "*.go" -type f -not -path "./vendor/*" | xargs gofmt -s -w
3838

3939
.PHONY: vet
4040
vet:

0 commit comments

Comments
 (0)