Skip to content

Commit

Permalink
chore: gofmt and goimports
Browse files Browse the repository at this point in the history
  • Loading branch information
docmerlin committed Jul 26, 2022
1 parent f40d260 commit 12df30e
Show file tree
Hide file tree
Showing 13 changed files with 464 additions and 463 deletions.
2 changes: 1 addition & 1 deletion checkfmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ for file in $(go list -f '{{$dir := .Dir}}{{range .GoFiles}}{{printf "%s/%s\n" $
# Only print this once.
HAS_FMT_ERR=1
echo 'Commit includes files that are not gofmt-ed' && \
echo 'run "make fmt"' && \
echo 'run "fmt ./..."' && \
echo ''
fi
echo "$FMT_OUT" # Print output and continue, so developers don't fix one file at a t
Expand Down
Loading

0 comments on commit 12df30e

Please sign in to comment.