Skip to content

Commit 3816ee8

Browse files
authored
doc(gemini): use toolchain level goimports and golangci-lint (googleapis#4007)
Use `go tool` command for goimports and golangci-lint to avoid version incompatibility between tool and go version.
1 parent 7b35153 commit 3816ee8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GEMINI.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ You are a Senior Go Engineer building "Librarian", a system to onboard, generate
1515

1616
After modifying code, you MUST run these commands:
1717
- **Format:** `gofmt -s -w .`
18-
- **Imports:** `goimports -w .`
19-
- **Lint:** `golangci-lint run`
18+
- **Imports:** `go tool goimports -w .`
19+
- **Lint:** `go tool golangci-lint run`
2020
- **Tests:** `go test -short ./...` (for fast feedback)
2121
- **YAML:** `yamlfmt` (if YAML files were touched)
2222

0 commit comments

Comments
 (0)