GOFUMPT := go run mvdan.cc/gofumpt@v0.7.0 GOIMPORTS := go run golang.org/x/tools/cmd/goimports@v0.28.0 GCI := go run github.com/daixiang0/gci@v0.13.5 GOLINES := go run github.com/segmentio/golines@v0.12.2 format: @echo "🛠️ Format code" $(GOIMPORTS) -w . $(GCI) write -s standard -s default -s "prefix(code.alt-gnome.ru/aides-infra/aides-repo-api)" . $(GOLINES) -w . $(GOFUMPT) -w . @echo "✅ Format done." .PHONY: format