Skip to content

Commit 6e34c5c

Browse files
committed
chore: make targets for format and golines
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent abd12a4 commit 6e34c5c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ mod-tidy:
1919
clean:
2020
rm -f $(BINARIES)
2121

22+
format:
23+
go fmt ./...
24+
25+
golines:
26+
golines -w --ignore-generated --chain-split-dots --max-len=80 --reformat-tags .
27+
2228
test:
2329
go test -v ./...
2430

0 commit comments

Comments
 (0)