Skip to content

Commit

Permalink
Makefile: Add fmt target which formats Go source code via gofmt
Browse files Browse the repository at this point in the history
Signed-off-by: Leonard Lyubich <[email protected]>
  • Loading branch information
cthulhu-rider committed Jan 27, 2023
1 parent 13da62e commit be6cff8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,6 @@ debpackage:

debclean:
dh clean

fmt:
@gofmt -l -w -s $$(find . -type f -name '*.go'| grep -v "/vendor/")

0 comments on commit be6cff8

Please sign in to comment.