Skip to content

Commit

Permalink
fix: format script
Browse files Browse the repository at this point in the history
use gofmt
  • Loading branch information
sundowndev committed Mar 27, 2020
1 parent ae5efaa commit d4bae08
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/format.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#!/bin/sh

go fmt $(go list ./... | grep -v /vendor/)
echo "Formatting Go files..."

gofmt -s -w -l .

echo "Done."

0 comments on commit d4bae08

Please sign in to comment.