From ea42c6af391f82e5cc7dba01f6192fbb70fa1ed0 Mon Sep 17 00:00:00 2001 From: Robert Zaremba Date: Thu, 3 Oct 2024 16:33:05 +0200 Subject: [PATCH] setup(makefile): lint-gofmt-fix --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 91ba304..8afc42a 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,9 @@ lint-fix: lint-all: @revive ./... +lint-gofmt-fix: + @find -name "*.go" -exec gofmt -w -s {} \; + .PHONY: build run clean setup ###############################################################################