Skip to content

Commit d466971

Browse files
author
Test
committed
fix: install goimports via go run in fmt target
1 parent 4d22144 commit d466971

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ lint: ## Run golangci-lint
1717

1818
fmt: ## Format code
1919
gofmt -w .
20-
goimports -w .
20+
go run golang.org/x/tools/cmd/goimports@latest -w .
2121

2222
deps: ## Download dependencies
2323
go mod download

0 commit comments

Comments
 (0)