...
Text file
src/cmd/go/testdata/mod/github.com_golangci_golangci-lint_v2_v2.10.1.txt
1module github.com/golangci/golangci-lint/v2@latest
2
3Original import done via `go run addmod.go`. Dependencies have been manually
4reduced to the minimum required by the test `get_tool_issue_74691`.
5-- .mod --
6module github.com/golangci/golangci-lint/v2
7
8// The minimum Go version must always be latest-1.
9// This version should never be changed outside of the PR to add the support of newer Go version.
10// Only golangci-lint maintainers are allowed to change it.
11go 1.25.0
12
13require github.com/securego/gosec/v2 v2.23.0
14-- .info --
15{"Version":"v2.10.1"}
16-- cmd/golangci-lint/main.go --
17package main
18
19import _ "github.com/securego/gosec/v2/rules"
20
21func main()
22
View as plain text