This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
язык_программирования_golang [2025/01/02 08:41] val [golangci-lint] |
язык_программирования_golang [2025/01/12 06:20] (current) val [golangci-lint] |
||
|---|---|---|---|
| Line 67: | Line 67: | ||
| go 1.19 | go 1.19 | ||
| </code><code> | </code><code> | ||
| - | $ docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.62.2 golangci-lint run --timeout=10m | + | ~/gowebd# time docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.62.2 golangci-lint run --timeout=10m |
| main.go:11:7: const `ver2` is unused (unused) | main.go:11:7: const `ver2` is unused (unused) | ||
| const ver2 = "ver1.3" | const ver2 = "ver1.3" | ||
| ^ | ^ | ||
| + | real 1m28.670s | ||
| </code> | </code> | ||