Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev: add Go version to version information #3625

Merged
merged 3 commits into from
Mar 1, 2023

Conversation

ldez
Copy link
Member

@ldez ldez commented Feb 22, 2023

Add Go version to the information display by the version command.

It is related to all the duplicate issues we have about go1.20 (#3620, #3609, #3582, #3565, #3549, #3538, #3536, #3535, #3533, #3470, ...)

Classic output
$ ./golangci-lint version                                   
golangci-lint has version (devel) built with go1.20.1 from (unknown, mod sum: "") on (unknown)

$ ./golangci-lint run --version                             
golangci-lint has version (devel) built with go1.20.1 from (unknown, mod sum: "") on (unknown)

$ ./golangci-lint version --format json
{"goVersion":"go1.20.1","version":"(devel)","commit":"(unknown, mod sum: \"\")","date":"(unknown)"}

I also added debug flag with detailed build information.

Debug output
$ ./golangci-lint version --debug         
go      go1.20.1
path    github.com/golangci/golangci-lint/cmd/golangci-lint
mod     github.com/golangci/golangci-lint       (devel) 
dep     4d63.com/gocheckcompilerdirectives      v1.2.1  h1:AHcMYuw56NPjq/2y615IGg2kYkBdTvOaojYCBcRE7MA=
dep     4d63.com/gochecknoglobals       v0.2.1  h1:1eiorGsgHOFOuoOiJDy2psSrQbRdIHrlge0IJIkUgDc=
dep     github.com/Abirdcfly/dupword    v0.0.9  h1:MxprGjKq3yDBICXDgEEsyGirIXfMYXkLNT/agPsE1tk=
dep     github.com/Antonboom/errname    v0.1.7  h1:mBBDKvEYwPl4WFFNwec1CZO096G6vzK9vvDQzAwkako=
dep     github.com/Antonboom/nilnil     v0.1.1  h1:PHhrh5ANKFWRBh7TdYmyyq2gyT2lotnvFvvFbylF81Q=
dep     github.com/BurntSushi/toml      v1.2.1  h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak=
dep     github.com/Djarvur/go-err113    v0.0.0-20210108212216-aea10b59be24      h1:sHglBQTwgx+rWPdisA5ynNEsoARbiCBOyGcJM4/OzsM=
dep     github.com/GaijinEntertainment/go-exhaustruct/v2        v2.3.0  h1:+r1rSv4gvYn0wmRjC8X7IAzX8QezqtFV9m0MUHFJgts=
dep     github.com/Masterminds/semver   v1.5.0  h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww=
dep     github.com/OpenPeeDeeP/depguard v1.1.1  h1:TSUznLjvp/4IUP+OQ0t/4jF4QUyxIcVX8YnghZdunyA=
dep     github.com/alexkohler/prealloc  v1.0.0  h1:Hbq0/3fJPQhNkN0dR95AVrr6R7tou91y0uHG5pOcUuw=
dep     github.com/alingse/asasalint    v0.0.11 h1:SFwnQXJ49Kx/1GghOFz1XGqHYKp21Kq1nHad/0WQRnw=
dep     github.com/ashanbrown/forbidigo v1.4.0  h1:spdPbupaSqtWORq1Q4eHBoPBmHtwVyLKwaedbSLc5Sw=
dep     github.com/ashanbrown/makezero  v1.1.1  h1:iCQ87C0V0vSyO+M9E/FZYbu65auqH0lnsOkf5FcB28s=
dep     github.com/beorn7/perks v1.0.1  h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
dep     github.com/bkielbasa/cyclop     v1.2.0  h1:7Jmnh0yL2DjKfw28p86YTd/B4lRGcNuu12sKE35sM7A=
dep     github.com/blizzy78/varnamelen  v0.8.0  h1:oqSblyuQvFsW1hbBHh1zfwrKe3kcSj0rnXkKzsQ089M=
dep     github.com/bombsimon/wsl/v3     v3.4.0  h1:RkSxjT3tmlptwfgEgTgU+KYKLI35p/tviNXNXiL2aNU=
dep     github.com/breml/bidichk        v0.2.3  h1:qe6ggxpTfA8E75hdjWPZ581sY3a2lnl0IRxLQFelECI=
dep     github.com/breml/errchkjson     v0.3.0  h1:YdDqhfqMT+I1vIxPSas44P+9Z9HzJwCeAzjB8PxP1xw=
dep     github.com/butuzov/ireturn      v0.1.1  h1:QvrO2QF2+/Cx1WA/vETCIYBKtRjc30vesdoPUNo1EbY=
dep     github.com/cespare/xxhash/v2    v2.1.2  h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE=
dep     github.com/charithe/durationcheck       v0.0.9  h1:mPP4ucLrf/rKZiIG/a9IPXHGlh8p4CzgpyTy6EEutYk=
dep     github.com/chavacava/garif      v0.0.0-20221024190013-b3ef35877348      h1:cy5GCEZLUCshCGCRRUjxHrDUqkB4l5cuUt3ShEckQEo=
dep     github.com/curioswitch/go-reassign      v0.2.0  h1:G9UZyOcpk/d7Gd6mqYgd8XYWFMw/znxwGDUstnC9DIo=
dep     github.com/daixiang0/gci        v0.9.1  h1:jBrwBmBZTDsGsXiaCTLIe9diotp1X4X64zodFrh7l+c=
dep     github.com/davecgh/go-spew      v1.1.1  h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
dep     github.com/denis-tingaikin/go-header    v0.4.3  h1:tEaZKAlqql6SKCY++utLmkPLd6K8IBM20Ha7UVm+mtU=
dep     github.com/esimonov/ifshort     v1.0.4  h1:6SID4yGWfRae/M7hkVDVVyppy8q/v9OuxNdmjLQStBA=
dep     github.com/ettle/strcase        v0.1.1  h1:htFueZyVeE1XNnMEfbqp5r67qAN/4r6ya1ysq8Q+Zcw=
dep     github.com/fatih/color  v1.14.1 h1:qfhVLaG5s+nCROl1zJsZRxFeYrHLqWroPOQ8BWiNb4w=
dep     github.com/fatih/structtag      v1.2.0  h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4=
dep     github.com/firefart/nonamedreturns      v1.0.4  h1:abzI1p7mAEPYuR4A+VLKn4eNDOycjYo2phmY9sfv40Y=
dep     github.com/fsnotify/fsnotify    v1.5.4  h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI=
dep     github.com/fzipp/gocyclo        v0.6.0  h1:lsblElZG7d3ALtGMx9fmxeTKZaLLpU8mET09yN4BBLo=
dep     github.com/go-critic/go-critic  v0.6.7  h1:1evPrElnLQ2LZtJfmNDzlieDhjnq36SLgNzisx06oPM=
dep     github.com/go-toolsmith/astcast v1.1.0  h1:+JN9xZV1A+Re+95pgnMgDboWNVnIMMQXwfBwLRPgSC8=
dep     github.com/go-toolsmith/astcopy v1.0.3  h1:r0bgSRlMOAgO+BdQnVAcpMSMkrQCnV6ZJmIkrJgcJj0=
dep     github.com/go-toolsmith/astequal        v1.1.0  h1:kHKm1AWqClYn15R0K1KKE4RG614D46n+nqUQ06E1dTw=
dep     github.com/go-toolsmith/astfmt  v1.1.0  h1:iJVPDPp6/7AaeLJEruMsBUlOYCmvg0MoCfJprsOmcco=
dep     github.com/go-toolsmith/astp    v1.1.0  h1:dXPuCl6u2llURjdPLLDxJeZInAeZ0/eZwFJmqZMnpQA=
dep     github.com/go-toolsmith/strparse        v1.1.0  h1:GAioeZUK9TGxnLS+qfdqNbA4z0SSm5zVNtCQiyP2Bvw=
dep     github.com/go-toolsmith/typep   v1.1.0  h1:fIRYDyF+JywLfqzyhdiHzRop/GQDxxNhLGQ6gFUNHus=
dep     github.com/go-xmlfmt/xmlfmt     v1.1.2  h1:Nea7b4icn8s57fTx1M5AI4qQT5HEM3rVUO8MuE6g80U=
dep     github.com/gobwas/glob  v0.2.3  h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=
dep     github.com/gofrs/flock  v0.8.1  h1:+gYjHKf32LDeiEEFhQaotPbLuUXjY5ZqxKgXy7n59aw=
dep     github.com/golang/protobuf      v1.5.2  h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
dep     github.com/golangci/check       v0.0.0-20180506172741-cfe4005ccda2      h1:23T5iq8rbUYlhpt5DB4XJkc6BU31uODLD1o1gKvZmD0=
dep     github.com/golangci/dupl        v0.0.0-20180902072040-3e9179ac440a      h1:w8hkcTqaFpzKqonE9uMCefW1WDie15eSP/4MssdenaM=
dep     github.com/golangci/go-misc     v0.0.0-20220329215616-d24fe342adfe      h1:6RGUuS7EGotKx6J5HIP8ZtyMdiDscjMLfRBSPuzVVeo=
dep     github.com/golangci/gofmt       v0.0.0-20220901101216-f2edd75033f2      h1:amWTbTGqOZ71ruzrdA+Nx5WA3tV1N0goTspwmKCQvBY=
dep     github.com/golangci/lint-1      v0.0.0-20191013205115-297bf364a8e0      h1:MfyDlzVjl1hoaPzPD4Gpb/QgoRfSBR0jdhwGyAWwMSA=
dep     github.com/golangci/maligned    v0.0.0-20180506175553-b1d89398deca      h1:kNY3/svz5T29MYHubXix4aDDuE3RWHkPvopM/EDv/MA=
dep     github.com/golangci/misspell    v0.4.0  h1:KtVB/hTK4bbL/S6bs64rYyk8adjmh1BygbBiaAiX+a0=
dep     github.com/golangci/revgrep     v0.0.0-20220804021717-745bb2f7c2e6      h1:DIPQnGy2Gv2FSA4B/hh8Q7xx3B7AIDk3DAMeHclH1vQ=
dep     github.com/golangci/unconvert   v0.0.0-20180507085042-28b1c447d1f4      h1:zwtduBRr5SSWhqsYNgcuWO2kFlpdOZbP0+yRjmvPGys=
dep     github.com/google/go-cmp        v0.5.9  h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
dep     github.com/gordonklaus/ineffassign      v0.0.0-20230107090616-13ace0543b28      h1:9alfqbrhuD+9fLZ4iaAVwhlp5PEhmnBt7yvK2Oy5C1U=
dep     github.com/gostaticanalysis/analysisutil        v0.7.1  h1:ZMCjoue3DtDWQ5WyU16YbjbQEQ3VuzwxALrpYd+HeKk=
dep     github.com/gostaticanalysis/comment     v1.4.2  h1:hlnx5+S2fY9Zo9ePo4AhgYsYHbM2+eAv8m/s1JiCd6Q=
dep     github.com/gostaticanalysis/forcetypeassert     v0.1.0  h1:6eUflI3DiGusXGK6X7cCcIgVCpZ2CiZ1Q7jl6ZxNV70=
dep     github.com/gostaticanalysis/nilerr      v0.1.1  h1:ThE+hJP0fEp4zWLkWHWcRyI2Od0p7DlgYG3Uqrmrcpk=
dep     github.com/hashicorp/errwrap    v1.0.0  h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA=
dep     github.com/hashicorp/go-multierror      v1.1.1  h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=
dep     github.com/hashicorp/go-version v1.6.0  h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek=
dep     github.com/hashicorp/hcl        v1.0.0  h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
dep     github.com/hexops/gotextdiff    v1.0.3  h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM=
dep     github.com/jgautheron/goconst   v1.5.1  h1:HxVbL1MhydKs8R8n/HE5NPvzfaYmQJA3o879lE4+WcM=
dep     github.com/jingyugao/rowserrcheck       v1.1.1  h1:zibz55j/MJtLsjP1OF4bSdgXxwL1b+Vn7Tjzq7gFzUs=
dep     github.com/jirfag/go-printf-func-name   v0.0.0-20200119135958-7558a9eaa5af      h1:KA9BjwUk7KlCh6S9EAGWBt1oExIUv9WyNCiRz5amv48=
dep     github.com/julz/importas        v0.1.0  h1:F78HnrsjY3cR7j0etXy5+TU1Zuy7Xt08X/1aJnH5xXY=
dep     github.com/junk1tm/musttag      v0.4.5  h1:d+mpJ1vn6WFEVKHwkgJiIedis1u/EawKOuUTygAUtCo=
dep     github.com/kisielk/errcheck     v1.6.3  h1:dEKh+GLHcWm2oN34nMvDzn1sqI0i0WxPvrgiJA5JuM8=
dep     github.com/kisielk/gotool       v1.0.0  h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg=
dep     github.com/kkHAIKE/contextcheck v1.1.3  h1:l4pNvrb8JSwRd51ojtcOxOeHJzHek+MtOyXbaR0uvmw=
dep     github.com/kulti/thelper        v0.6.3  h1:ElhKf+AlItIu+xGnI990no4cE2+XaSu1ULymV2Yulxs=
dep     github.com/kunwardeep/paralleltest      v1.0.6  h1:FCKYMF1OF2+RveWlABsdnmsvJrei5aoyZoaGS+Ugg8g=
dep     github.com/kyoh86/exportloopref v0.1.11 h1:1Z0bcmTypkL3Q4k+IDHMWTcnCliEZcaPiIe0/ymEyhQ=
dep     github.com/ldez/gomoddirectives v0.2.3  h1:y7MBaisZVDYmKvt9/l1mjNCiSA1BVn34U0ObUcJwlhA=
dep     github.com/ldez/tagliatelle     v0.4.0  h1:sylp7d9kh6AdXN2DpVGHBRb5guTVAgOxqNGhbqc4b1c=
dep     github.com/leonklingele/grouper v1.1.1  h1:suWXRU57D4/Enn6pXR0QVqqWWrnJ9Osrz+5rjt8ivzU=
dep     github.com/lufeee/execinquery   v1.2.1  h1:hf0Ems4SHcUGBxpGN7Jz78z1ppVkP/837ZlETPCEtOM=
dep     github.com/magiconair/properties        v1.8.6  h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo=
dep     github.com/maratori/testableexamples    v1.0.0  h1:dU5alXRrD8WKSjOUnmJZuzdxWOEQ57+7s93SLMxb2vI=
dep     github.com/maratori/testpackage v1.1.0  h1:GJY4wlzQhuBusMF1oahQCBtUV/AQ/k69IZ68vxaac2Q=
dep     github.com/matoous/godox        v0.0.0-20210227103229-6504466cf951      h1:pWxk9e//NbPwfxat7RXkts09K+dEBJWakUWwICVqYbA=
dep     github.com/mattn/go-colorable   v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
dep     github.com/mattn/go-isatty      v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng=
dep     github.com/mattn/go-runewidth   v0.0.9  h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0=
dep     github.com/matttproud/golang_protobuf_extensions        v1.0.1  h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=
dep     github.com/mbilski/exhaustivestruct     v1.2.0  h1:wCBmUnSYufAHO6J4AVWY6ff+oxWxsVFrwgOdMUQePUo=
dep     github.com/mgechev/revive       v1.2.5  h1:UF9AR8pOAuwNmhXj2odp4mxv9Nx2qUIwVz8ZsU+Mbec=
dep     github.com/mitchellh/go-homedir v1.1.0  h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
dep     github.com/mitchellh/mapstructure       v1.5.0  h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
dep     github.com/moricho/tparallel    v0.2.1  h1:95FytivzT6rYzdJLdtfn6m1bfFJylOJK41+lgv/EHf4=
dep     github.com/nakabonne/nestif     v0.3.1  h1:wm28nZjhQY5HyYPx+weN3Q65k6ilSBxDb8v5S81B81U=
dep     github.com/nbutton23/zxcvbn-go  v0.0.0-20210217022336-fa2cb2858354      h1:4kuARK6Y6FxaNu/BnU2OAaLF86eTVhP2hjTB6iMvItA=
dep     github.com/nishanths/exhaustive v0.9.5  h1:TzssWan6orBiLYVqewCG8faud9qlFntJE30ACpzmGME=
dep     github.com/nishanths/predeclared        v0.2.2  h1:V2EPdZPliZymNAn79T8RkNApBjMmVKh5XRpLm/w98Vk=
dep     github.com/nunnatsa/ginkgolinter        v0.8.1  h1:/y4o/0hV+ruUHj4xXh89xlFjoaitnI4LnkpuYs02q1c=
dep     github.com/olekukonko/tablewriter       v0.0.5  h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
dep     github.com/pelletier/go-toml/v2 v2.0.5  h1:ipoSadvV8oGUjnUbMub59IDPPwfxF694nG/jwbMiyQg=
dep     github.com/pkg/errors   v0.9.1  h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
dep     github.com/pmezard/go-difflib   v1.0.0  h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
dep     github.com/polyfloyd/go-errorlint       v1.1.0  h1:VKoEFg5yxSgJ2yFPVhxW7oGz+f8/OVcuMeNvcPIi6Eg=
dep     github.com/prometheus/client_golang     v1.12.1 h1:ZiaPsmm9uiBeaSMRznKsCDNtPCS0T3JVDGF+06gjBzk=
dep     github.com/prometheus/client_model      v0.2.0  h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M=
dep     github.com/prometheus/common    v0.32.1 h1:hWIdL3N2HoUx3B8j3YN9mWor0qhY/NlEKZEaXxuIRh4=
dep     github.com/prometheus/procfs    v0.7.3  h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU=
dep     github.com/quasilyte/go-ruleguard       v0.3.19 h1:tfMnabXle/HzOb5Xe9CUZYWXKfkS1KwRmZyPmD9nVcc=
dep     github.com/quasilyte/gogrep     v0.5.0  h1:eTKODPXbI8ffJMN+W2aE0+oL0z/nh8/5eNdiO34SOAo=
dep     github.com/quasilyte/regex/syntax       v0.0.0-20200407221936-30656e2c4a95      h1:L8QM9bvf68pVdQ3bCFZMDmnt9yqcMBro1pC7F+IPYMY=
dep     github.com/quasilyte/stdinfo    v0.0.0-20220114132959-f7386bf02567      h1:M8mH9eK4OUR4lu7Gd+PU1fV2/qnDNfzT635KRSObncs=
dep     github.com/ryancurrah/gomodguard        v1.3.0  h1:q15RT/pd6UggBXVBuLps8BXRvl5GPBcwVA7BJHMLuTw=
dep     github.com/ryanrolds/sqlclosecheck      v0.4.0  h1:i8SX60Rppc1wRuyQjMciLqIzV3xnoHB7/tXbr6RGYNI=
dep     github.com/sanposhiho/wastedassign/v2   v2.0.7  h1:J+6nrY4VW+gC9xFzUc+XjPD3g3wF3je/NsJFwFK7Uxc=
dep     github.com/sashamelentyev/interfacebloat        v1.1.0  h1:xdRdJp0irL086OyW1H/RTZTr1h/tMEOsumirXcOJqAw=
dep     github.com/sashamelentyev/usestdlibvars v1.23.0 h1:01h+/2Kd+NblNItNeux0veSL5cBF1jbEOPrEhDzGYq0=
dep     github.com/securego/gosec/v2    v2.15.0 h1:v4Ym7FF58/jlykYmmhZ7mTm7FQvN/setNm++0fgIAtw=
dep     github.com/shazow/go-diff       v0.0.0-20160112020656-b6b7b6733b8c      h1:W65qqJCIOVP4jpqPQ0YvHYKwcMEMVWIzWC5iNQQfBTU=
dep     github.com/sirupsen/logrus      v1.9.0  h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0=
dep     github.com/sivchari/containedctx        v1.0.2  h1:0hLQKpgC53OVF1VT7CeoFHk9YKstur1XOgfYIc1yrHI=
dep     github.com/sivchari/nosnakecase v1.7.0  h1:7QkpWIRMe8x25gckkFd2A5Pi6Ymo0qgr4JrhGt95do8=
dep     github.com/sivchari/tenv        v1.7.1  h1:PSpuD4bu6fSmtWMxSGWcvqUUgIn7k3yOJhOIzVWn8Ak=
dep     github.com/sonatard/noctx       v0.0.1  h1:VC1Qhl6Oxx9vvWo3UDgrGXYCeKCe3Wbw7qAWL6FrmTY=
dep     github.com/sourcegraph/go-diff  v0.7.0  h1:9uLlrd5T46OXs5qpp8L/MTltk0zikUGi0sNNyCpA8G0=
dep     github.com/spf13/afero  v1.8.2  h1:xehSyVa0YnHWsJ49JFljMpg1HX19V6NDZ1fkm1Xznbo=
dep     github.com/spf13/cast   v1.5.0  h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w=
dep     github.com/spf13/cobra  v1.6.1  h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA=
dep     github.com/spf13/jwalterweatherman      v1.1.0  h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=
dep     github.com/spf13/pflag  v1.0.5  h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
dep     github.com/spf13/viper  v1.12.0 h1:CZ7eSOd3kZoaYDLbXnmzgQI5RlciuXBMA+18HwHRfZQ=
dep     github.com/ssgreg/nlreturn/v2   v2.2.1  h1:X4XDI7jstt3ySqGU86YGAURbxw3oTDPK9sPEi6YEwQ0=
dep     github.com/stbenjam/no-sprintf-host-port        v0.1.1  h1:tYugd/yrm1O0dV+ThCbaKZh195Dfm07ysF0U6JQXczc=
dep     github.com/stretchr/objx        v0.5.0  h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c=
dep     github.com/stretchr/testify     v1.8.1  h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
dep     github.com/subosito/gotenv      v1.4.1  h1:jyEFiXpy21Wm81FBN71l9VoMMV8H8jG+qIK3GCpY6Qs=
dep     github.com/tdakkota/asciicheck  v0.1.1  h1:PKzG7JUTUmVspQTDqtkX9eSiLGossXTybutHwTXuO0A=
dep     github.com/tetafro/godot        v1.4.11 h1:BVoBIqAf/2QdbFmSwAWnaIqDivZdOV0ZRwEm6jivLKw=
dep     github.com/timakin/bodyclose    v0.0.0-20221125081123-e39cf3fc478e      h1:MV6KaVu/hzByHP0UvJ4HcMGE/8a6A4Rggc/0wx2AvJo=
dep     github.com/timonwong/loggercheck        v0.9.3  h1:ecACo9fNiHxX4/Bc02rW2+kaJIAMAes7qJ7JKxt0EZI=
dep     github.com/tomarrell/wrapcheck/v2       v2.8.0  h1:qDzbir0xmoE+aNxGCPrn+rUSxAX+nG6vREgbbXAR81I=
dep     github.com/tommy-muehle/go-mnd/v2       v2.5.1  h1:NowYhSdyE/1zwK9QCLeRb6USWdoif80Ie+v+yU8u1Zw=
dep     github.com/ultraware/funlen     v0.0.3  h1:5ylVWm8wsNwH5aWo9438pwvsK0QiqVuUrt9bn7S/iLA=
dep     github.com/ultraware/whitespace v0.0.5  h1:hh+/cpIcopyMYbZNVov9iSxvJU3OYQg78Sfaqzi/CzI=
dep     github.com/uudashr/gocognit     v1.0.6  h1:2Cgi6MweCsdB6kpcVQp7EW4U23iBFQWfTXiWlyp842Y=
dep     github.com/yagipy/maintidx      v1.0.0  h1:h5NvIsCz+nRDapQ0exNv4aJ0yXSI0420omVANTv3GJM=
dep     github.com/yeya24/promlinter    v0.2.0  h1:xFKDQ82orCU5jQujdaD8stOHiv8UN68BSdn2a8u8Y3o=
dep     gitlab.com/bosi/decorder        v0.2.3  h1:gX4/RgK16ijY8V+BRQHAySfQAb354T7/xQpDB2n10P0=
dep     go.uber.org/atomic      v1.7.0  h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw=
dep     go.uber.org/multierr    v1.6.0  h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4=
dep     go.uber.org/zap v1.17.0 h1:MTjgFu6ZLKvY6Pvaqk97GlxNBuMpV4Hy/3P6tRGlI2U=
dep     golang.org/x/exp        v0.0.0-20220722155223-a9213eeb770e      h1:+WEEuIdZHnUeJJmEUjyYC2gfUMj69yZXw17EnHg/otA=
dep     golang.org/x/exp/typeparams     v0.0.0-20230203172020-98cc5a0785f9      h1:6WHiuFL9FNjg8RljAaT7FNUuKDbvMqS1i5cr2OE2sLQ=
dep     golang.org/x/mod        v0.8.0  h1:LUYupSeNrTNCGzR/hVBk2NHZO4hXcVaW1k4Qx7rjPx8=
dep     golang.org/x/sync       v0.1.0  h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
dep     golang.org/x/sys        v0.5.0  h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU=
dep     golang.org/x/text       v0.6.0  h1:3XmdazWV+ubf7QgHSTWeykHOci5oeekaGJBLkrkaw4k=
dep     golang.org/x/tools      v0.6.0  h1:BOw41kyTf3PuCW1pVQf8+Cyg8pMlkYB1oo9iJ6D/lKM=
dep     google.golang.org/protobuf      v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw=
dep     gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA=
dep     gopkg.in/yaml.v2        v2.4.0  h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
dep     gopkg.in/yaml.v3        v3.0.1  h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
dep     honnef.co/go/tools      v0.4.2  h1:6qXr+R5w+ktL5UkwEbPp+fEvfyoMPche6GkOpGHZcLc=
dep     mvdan.cc/gofumpt        v0.4.0  h1:JVf4NN1mIpHogBj7ABpgOyZc65/UUOkKQFkoURsz4MM=
dep     mvdan.cc/interfacer     v0.0.0-20180901003855-c20040233aed      h1:WX1yoOaKQfddO/mLzdV4wptyWgoH/6hwLs7QHTixo0I=
dep     mvdan.cc/lint   v0.0.0-20170908181259-adc824a0674b      h1:DxJ5nJdkhDlLok9K6qO+5290kphDJbHOQO1DFFFTeBo=
dep     mvdan.cc/unparam        v0.0.0-20221223090309-7455f1af531d      h1:3rvTIIM22r9pvXk+q3swxUQAQOxksVMGK7sml4nG57w=
build   -buildmode=exe
build   -compiler=gc
build   CGO_ENABLED=1
build   CGO_CFLAGS=
build   CGO_CPPFLAGS=
build   CGO_CXXFLAGS=
build   CGO_LDFLAGS=
build   GOARCH=amd64
build   GOOS=linux
build   GOAMD64=v1

golangci-lint has version (devel) built with go1.20.1 from (unknown, mod sum: "") on (unknown)

$ ./golangci-lint version --debug --format json
{"Info":{"goVersion":"go1.20.1","version":"(devel)","commit":"(unknown, mod sum: \"\")","date":"(unknown)"},"BuildInfo":{"GoVersion":"go1.20.1","Path":"github.com/golangci/golangci-lint/cmd/golangci-lint","Main":{"Path":"github.com/golangci/golangci-lint","Version":"(devel)","Sum":"","Replace":null},"Deps":[{"Path":"4d63.com/gocheckcompilerdirectives","Version":"v1.2.1","Sum":"h1:AHcMYuw56NPjq/2y615IGg2kYkBdTvOaojYCBcRE7MA=","Replace":null},{"Path":"4d63.com/gochecknoglobals","Version":"v0.2.1","Sum":"h1:1eiorGsgHOFOuoOiJDy2psSrQbRdIHrlge0IJIkUgDc=","Replace":null},{"Path":"github.com/Abirdcfly/dupword","Version":"v0.0.9","Sum":"h1:MxprGjKq3yDBICXDgEEsyGirIXfMYXkLNT/agPsE1tk=","Replace":null},{"Path":"github.com/Antonboom/errname","Version":"v0.1.7","Sum":"h1:mBBDKvEYwPl4WFFNwec1CZO096G6vzK9vvDQzAwkako=","Replace":null},{"Path":"github.com/Antonboom/nilnil","Version":"v0.1.1","Sum":"h1:PHhrh5ANKFWRBh7TdYmyyq2gyT2lotnvFvvFbylF81Q=","Replace":null},{"Path":"github.com/BurntSushi/toml","Version":"v1.2.1","Sum":"h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak=","Replace":null},{"Path":"github.com/Djarvur/go-err113","Version":"v0.0.0-20210108212216-aea10b59be24","Sum":"h1:sHglBQTwgx+rWPdisA5ynNEsoARbiCBOyGcJM4/OzsM=","Replace":null},{"Path":"github.com/GaijinEntertainment/go-exhaustruct/v2","Version":"v2.3.0","Sum":"h1:+r1rSv4gvYn0wmRjC8X7IAzX8QezqtFV9m0MUHFJgts=","Replace":null},{"Path":"github.com/Masterminds/semver","Version":"v1.5.0","Sum":"h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww=","Replace":null},{"Path":"github.com/OpenPeeDeeP/depguard","Version":"v1.1.1","Sum":"h1:TSUznLjvp/4IUP+OQ0t/4jF4QUyxIcVX8YnghZdunyA=","Replace":null},{"Path":"github.com/alexkohler/prealloc","Version":"v1.0.0","Sum":"h1:Hbq0/3fJPQhNkN0dR95AVrr6R7tou91y0uHG5pOcUuw=","Replace":null},{"Path":"github.com/alingse/asasalint","Version":"v0.0.11","Sum":"h1:SFwnQXJ49Kx/1GghOFz1XGqHYKp21Kq1nHad/0WQRnw=","Replace":null},{"Path":"github.com/ashanbrown/forbidigo","Version":"v1.4.0","Sum":"h1:spdPbupaSqtWORq1Q4eHBoPBmHtwVyLKwaedbSLc5Sw=","Replace":null},{"Path":"github.com/ashanbrown/makezero","Version":"v1.1.1","Sum":"h1:iCQ87C0V0vSyO+M9E/FZYbu65auqH0lnsOkf5FcB28s=","Replace":null},{"Path":"github.com/beorn7/perks","Version":"v1.0.1","Sum":"h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=","Replace":null},{"Path":"github.com/bkielbasa/cyclop","Version":"v1.2.0","Sum":"h1:7Jmnh0yL2DjKfw28p86YTd/B4lRGcNuu12sKE35sM7A=","Replace":null},{"Path":"github.com/blizzy78/varnamelen","Version":"v0.8.0","Sum":"h1:oqSblyuQvFsW1hbBHh1zfwrKe3kcSj0rnXkKzsQ089M=","Replace":null},{"Path":"github.com/bombsimon/wsl/v3","Version":"v3.4.0","Sum":"h1:RkSxjT3tmlptwfgEgTgU+KYKLI35p/tviNXNXiL2aNU=","Replace":null},{"Path":"github.com/breml/bidichk","Version":"v0.2.3","Sum":"h1:qe6ggxpTfA8E75hdjWPZ581sY3a2lnl0IRxLQFelECI=","Replace":null},{"Path":"github.com/breml/errchkjson","Version":"v0.3.0","Sum":"h1:YdDqhfqMT+I1vIxPSas44P+9Z9HzJwCeAzjB8PxP1xw=","Replace":null},{"Path":"github.com/butuzov/ireturn","Version":"v0.1.1","Sum":"h1:QvrO2QF2+/Cx1WA/vETCIYBKtRjc30vesdoPUNo1EbY=","Replace":null},{"Path":"github.com/cespare/xxhash/v2","Version":"v2.1.2","Sum":"h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE=","Replace":null},{"Path":"github.com/charithe/durationcheck","Version":"v0.0.9","Sum":"h1:mPP4ucLrf/rKZiIG/a9IPXHGlh8p4CzgpyTy6EEutYk=","Replace":null},{"Path":"github.com/chavacava/garif","Version":"v0.0.0-20221024190013-b3ef35877348","Sum":"h1:cy5GCEZLUCshCGCRRUjxHrDUqkB4l5cuUt3ShEckQEo=","Replace":null},{"Path":"github.com/curioswitch/go-reassign","Version":"v0.2.0","Sum":"h1:G9UZyOcpk/d7Gd6mqYgd8XYWFMw/znxwGDUstnC9DIo=","Replace":null},{"Path":"github.com/daixiang0/gci","Version":"v0.9.1","Sum":"h1:jBrwBmBZTDsGsXiaCTLIe9diotp1X4X64zodFrh7l+c=","Replace":null},{"Path":"github.com/davecgh/go-spew","Version":"v1.1.1","Sum":"h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=","Replace":null},{"Path":"github.com/denis-tingaikin/go-header","Version":"v0.4.3","Sum":"h1:tEaZKAlqql6SKCY++utLmkPLd6K8IBM20Ha7UVm+mtU=","Replace":null},{"Path":"github.com/esimonov/ifshort","Version":"v1.0.4","Sum":"h1:6SID4yGWfRae/M7hkVDVVyppy8q/v9OuxNdmjLQStBA=","Replace":null},{"Path":"github.com/ettle/strcase","Version":"v0.1.1","Sum":"h1:htFueZyVeE1XNnMEfbqp5r67qAN/4r6ya1ysq8Q+Zcw=","Replace":null},{"Path":"github.com/fatih/color","Version":"v1.14.1","Sum":"h1:qfhVLaG5s+nCROl1zJsZRxFeYrHLqWroPOQ8BWiNb4w=","Replace":null},{"Path":"github.com/fatih/structtag","Version":"v1.2.0","Sum":"h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4=","Replace":null},{"Path":"github.com/firefart/nonamedreturns","Version":"v1.0.4","Sum":"h1:abzI1p7mAEPYuR4A+VLKn4eNDOycjYo2phmY9sfv40Y=","Replace":null},{"Path":"github.com/fsnotify/fsnotify","Version":"v1.5.4","Sum":"h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI=","Replace":null},{"Path":"github.com/fzipp/gocyclo","Version":"v0.6.0","Sum":"h1:lsblElZG7d3ALtGMx9fmxeTKZaLLpU8mET09yN4BBLo=","Replace":null},{"Path":"github.com/go-critic/go-critic","Version":"v0.6.7","Sum":"h1:1evPrElnLQ2LZtJfmNDzlieDhjnq36SLgNzisx06oPM=","Replace":null},{"Path":"github.com/go-toolsmith/astcast","Version":"v1.1.0","Sum":"h1:+JN9xZV1A+Re+95pgnMgDboWNVnIMMQXwfBwLRPgSC8=","Replace":null},{"Path":"github.com/go-toolsmith/astcopy","Version":"v1.0.3","Sum":"h1:r0bgSRlMOAgO+BdQnVAcpMSMkrQCnV6ZJmIkrJgcJj0=","Replace":null},{"Path":"github.com/go-toolsmith/astequal","Version":"v1.1.0","Sum":"h1:kHKm1AWqClYn15R0K1KKE4RG614D46n+nqUQ06E1dTw=","Replace":null},{"Path":"github.com/go-toolsmith/astfmt","Version":"v1.1.0","Sum":"h1:iJVPDPp6/7AaeLJEruMsBUlOYCmvg0MoCfJprsOmcco=","Replace":null},{"Path":"github.com/go-toolsmith/astp","Version":"v1.1.0","Sum":"h1:dXPuCl6u2llURjdPLLDxJeZInAeZ0/eZwFJmqZMnpQA=","Replace":null},{"Path":"github.com/go-toolsmith/strparse","Version":"v1.1.0","Sum":"h1:GAioeZUK9TGxnLS+qfdqNbA4z0SSm5zVNtCQiyP2Bvw=","Replace":null},{"Path":"github.com/go-toolsmith/typep","Version":"v1.1.0","Sum":"h1:fIRYDyF+JywLfqzyhdiHzRop/GQDxxNhLGQ6gFUNHus=","Replace":null},{"Path":"github.com/go-xmlfmt/xmlfmt","Version":"v1.1.2","Sum":"h1:Nea7b4icn8s57fTx1M5AI4qQT5HEM3rVUO8MuE6g80U=","Replace":null},{"Path":"github.com/gobwas/glob","Version":"v0.2.3","Sum":"h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=","Replace":null},{"Path":"github.com/gofrs/flock","Version":"v0.8.1","Sum":"h1:+gYjHKf32LDeiEEFhQaotPbLuUXjY5ZqxKgXy7n59aw=","Replace":null},{"Path":"github.com/golang/protobuf","Version":"v1.5.2","Sum":"h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=","Replace":null},{"Path":"github.com/golangci/check","Version":"v0.0.0-20180506172741-cfe4005ccda2","Sum":"h1:23T5iq8rbUYlhpt5DB4XJkc6BU31uODLD1o1gKvZmD0=","Replace":null},{"Path":"github.com/golangci/dupl","Version":"v0.0.0-20180902072040-3e9179ac440a","Sum":"h1:w8hkcTqaFpzKqonE9uMCefW1WDie15eSP/4MssdenaM=","Replace":null},{"Path":"github.com/golangci/go-misc","Version":"v0.0.0-20220329215616-d24fe342adfe","Sum":"h1:6RGUuS7EGotKx6J5HIP8ZtyMdiDscjMLfRBSPuzVVeo=","Replace":null},{"Path":"github.com/golangci/gofmt","Version":"v0.0.0-20220901101216-f2edd75033f2","Sum":"h1:amWTbTGqOZ71ruzrdA+Nx5WA3tV1N0goTspwmKCQvBY=","Replace":null},{"Path":"github.com/golangci/lint-1","Version":"v0.0.0-20191013205115-297bf364a8e0","Sum":"h1:MfyDlzVjl1hoaPzPD4Gpb/QgoRfSBR0jdhwGyAWwMSA=","Replace":null},{"Path":"github.com/golangci/maligned","Version":"v0.0.0-20180506175553-b1d89398deca","Sum":"h1:kNY3/svz5T29MYHubXix4aDDuE3RWHkPvopM/EDv/MA=","Replace":null},{"Path":"github.com/golangci/misspell","Version":"v0.4.0","Sum":"h1:KtVB/hTK4bbL/S6bs64rYyk8adjmh1BygbBiaAiX+a0=","Replace":null},{"Path":"github.com/golangci/revgrep","Version":"v0.0.0-20220804021717-745bb2f7c2e6","Sum":"h1:DIPQnGy2Gv2FSA4B/hh8Q7xx3B7AIDk3DAMeHclH1vQ=","Replace":null},{"Path":"github.com/golangci/unconvert","Version":"v0.0.0-20180507085042-28b1c447d1f4","Sum":"h1:zwtduBRr5SSWhqsYNgcuWO2kFlpdOZbP0+yRjmvPGys=","Replace":null},{"Path":"github.com/google/go-cmp","Version":"v0.5.9","Sum":"h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=","Replace":null},{"Path":"github.com/gordonklaus/ineffassign","Version":"v0.0.0-20230107090616-13ace0543b28","Sum":"h1:9alfqbrhuD+9fLZ4iaAVwhlp5PEhmnBt7yvK2Oy5C1U=","Replace":null},{"Path":"github.com/gostaticanalysis/analysisutil","Version":"v0.7.1","Sum":"h1:ZMCjoue3DtDWQ5WyU16YbjbQEQ3VuzwxALrpYd+HeKk=","Replace":null},{"Path":"github.com/gostaticanalysis/comment","Version":"v1.4.2","Sum":"h1:hlnx5+S2fY9Zo9ePo4AhgYsYHbM2+eAv8m/s1JiCd6Q=","Replace":null},{"Path":"github.com/gostaticanalysis/forcetypeassert","Version":"v0.1.0","Sum":"h1:6eUflI3DiGusXGK6X7cCcIgVCpZ2CiZ1Q7jl6ZxNV70=","Replace":null},{"Path":"github.com/gostaticanalysis/nilerr","Version":"v0.1.1","Sum":"h1:ThE+hJP0fEp4zWLkWHWcRyI2Od0p7DlgYG3Uqrmrcpk=","Replace":null},{"Path":"github.com/hashicorp/errwrap","Version":"v1.0.0","Sum":"h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA=","Replace":null},{"Path":"github.com/hashicorp/go-multierror","Version":"v1.1.1","Sum":"h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=","Replace":null},{"Path":"github.com/hashicorp/go-version","Version":"v1.6.0","Sum":"h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek=","Replace":null},{"Path":"github.com/hashicorp/hcl","Version":"v1.0.0","Sum":"h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=","Replace":null},{"Path":"github.com/hexops/gotextdiff","Version":"v1.0.3","Sum":"h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM=","Replace":null},{"Path":"github.com/jgautheron/goconst","Version":"v1.5.1","Sum":"h1:HxVbL1MhydKs8R8n/HE5NPvzfaYmQJA3o879lE4+WcM=","Replace":null},{"Path":"github.com/jingyugao/rowserrcheck","Version":"v1.1.1","Sum":"h1:zibz55j/MJtLsjP1OF4bSdgXxwL1b+Vn7Tjzq7gFzUs=","Replace":null},{"Path":"github.com/jirfag/go-printf-func-name","Version":"v0.0.0-20200119135958-7558a9eaa5af","Sum":"h1:KA9BjwUk7KlCh6S9EAGWBt1oExIUv9WyNCiRz5amv48=","Replace":null},{"Path":"github.com/julz/importas","Version":"v0.1.0","Sum":"h1:F78HnrsjY3cR7j0etXy5+TU1Zuy7Xt08X/1aJnH5xXY=","Replace":null},{"Path":"github.com/junk1tm/musttag","Version":"v0.4.5","Sum":"h1:d+mpJ1vn6WFEVKHwkgJiIedis1u/EawKOuUTygAUtCo=","Replace":null},{"Path":"github.com/kisielk/errcheck","Version":"v1.6.3","Sum":"h1:dEKh+GLHcWm2oN34nMvDzn1sqI0i0WxPvrgiJA5JuM8=","Replace":null},{"Path":"github.com/kisielk/gotool","Version":"v1.0.0","Sum":"h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg=","Replace":null},{"Path":"github.com/kkHAIKE/contextcheck","Version":"v1.1.3","Sum":"h1:l4pNvrb8JSwRd51ojtcOxOeHJzHek+MtOyXbaR0uvmw=","Replace":null},{"Path":"github.com/kulti/thelper","Version":"v0.6.3","Sum":"h1:ElhKf+AlItIu+xGnI990no4cE2+XaSu1ULymV2Yulxs=","Replace":null},{"Path":"github.com/kunwardeep/paralleltest","Version":"v1.0.6","Sum":"h1:FCKYMF1OF2+RveWlABsdnmsvJrei5aoyZoaGS+Ugg8g=","Replace":null},{"Path":"github.com/kyoh86/exportloopref","Version":"v0.1.11","Sum":"h1:1Z0bcmTypkL3Q4k+IDHMWTcnCliEZcaPiIe0/ymEyhQ=","Replace":null},{"Path":"github.com/ldez/gomoddirectives","Version":"v0.2.3","Sum":"h1:y7MBaisZVDYmKvt9/l1mjNCiSA1BVn34U0ObUcJwlhA=","Replace":null},{"Path":"github.com/ldez/tagliatelle","Version":"v0.4.0","Sum":"h1:sylp7d9kh6AdXN2DpVGHBRb5guTVAgOxqNGhbqc4b1c=","Replace":null},{"Path":"github.com/leonklingele/grouper","Version":"v1.1.1","Sum":"h1:suWXRU57D4/Enn6pXR0QVqqWWrnJ9Osrz+5rjt8ivzU=","Replace":null},{"Path":"github.com/lufeee/execinquery","Version":"v1.2.1","Sum":"h1:hf0Ems4SHcUGBxpGN7Jz78z1ppVkP/837ZlETPCEtOM=","Replace":null},{"Path":"github.com/magiconair/properties","Version":"v1.8.6","Sum":"h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo=","Replace":null},{"Path":"github.com/maratori/testableexamples","Version":"v1.0.0","Sum":"h1:dU5alXRrD8WKSjOUnmJZuzdxWOEQ57+7s93SLMxb2vI=","Replace":null},{"Path":"github.com/maratori/testpackage","Version":"v1.1.0","Sum":"h1:GJY4wlzQhuBusMF1oahQCBtUV/AQ/k69IZ68vxaac2Q=","Replace":null},{"Path":"github.com/matoous/godox","Version":"v0.0.0-20210227103229-6504466cf951","Sum":"h1:pWxk9e//NbPwfxat7RXkts09K+dEBJWakUWwICVqYbA=","Replace":null},{"Path":"github.com/mattn/go-colorable","Version":"v0.1.13","Sum":"h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=","Replace":null},{"Path":"github.com/mattn/go-isatty","Version":"v0.0.17","Sum":"h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng=","Replace":null},{"Path":"github.com/mattn/go-runewidth","Version":"v0.0.9","Sum":"h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0=","Replace":null},{"Path":"github.com/matttproud/golang_protobuf_extensions","Version":"v1.0.1","Sum":"h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=","Replace":null},{"Path":"github.com/mbilski/exhaustivestruct","Version":"v1.2.0","Sum":"h1:wCBmUnSYufAHO6J4AVWY6ff+oxWxsVFrwgOdMUQePUo=","Replace":null},{"Path":"github.com/mgechev/revive","Version":"v1.2.5","Sum":"h1:UF9AR8pOAuwNmhXj2odp4mxv9Nx2qUIwVz8ZsU+Mbec=","Replace":null},{"Path":"github.com/mitchellh/go-homedir","Version":"v1.1.0","Sum":"h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=","Replace":null},{"Path":"github.com/mitchellh/mapstructure","Version":"v1.5.0","Sum":"h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=","Replace":null},{"Path":"github.com/moricho/tparallel","Version":"v0.2.1","Sum":"h1:95FytivzT6rYzdJLdtfn6m1bfFJylOJK41+lgv/EHf4=","Replace":null},{"Path":"github.com/nakabonne/nestif","Version":"v0.3.1","Sum":"h1:wm28nZjhQY5HyYPx+weN3Q65k6ilSBxDb8v5S81B81U=","Replace":null},{"Path":"github.com/nbutton23/zxcvbn-go","Version":"v0.0.0-20210217022336-fa2cb2858354","Sum":"h1:4kuARK6Y6FxaNu/BnU2OAaLF86eTVhP2hjTB6iMvItA=","Replace":null},{"Path":"github.com/nishanths/exhaustive","Version":"v0.9.5","Sum":"h1:TzssWan6orBiLYVqewCG8faud9qlFntJE30ACpzmGME=","Replace":null},{"Path":"github.com/nishanths/predeclared","Version":"v0.2.2","Sum":"h1:V2EPdZPliZymNAn79T8RkNApBjMmVKh5XRpLm/w98Vk=","Replace":null},{"Path":"github.com/nunnatsa/ginkgolinter","Version":"v0.8.1","Sum":"h1:/y4o/0hV+ruUHj4xXh89xlFjoaitnI4LnkpuYs02q1c=","Replace":null},{"Path":"github.com/olekukonko/tablewriter","Version":"v0.0.5","Sum":"h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=","Replace":null},{"Path":"github.com/pelletier/go-toml/v2","Version":"v2.0.5","Sum":"h1:ipoSadvV8oGUjnUbMub59IDPPwfxF694nG/jwbMiyQg=","Replace":null},{"Path":"github.com/pkg/errors","Version":"v0.9.1","Sum":"h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=","Replace":null},{"Path":"github.com/pmezard/go-difflib","Version":"v1.0.0","Sum":"h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=","Replace":null},{"Path":"github.com/polyfloyd/go-errorlint","Version":"v1.1.0","Sum":"h1:VKoEFg5yxSgJ2yFPVhxW7oGz+f8/OVcuMeNvcPIi6Eg=","Replace":null},{"Path":"github.com/prometheus/client_golang","Version":"v1.12.1","Sum":"h1:ZiaPsmm9uiBeaSMRznKsCDNtPCS0T3JVDGF+06gjBzk=","Replace":null},{"Path":"github.com/prometheus/client_model","Version":"v0.2.0","Sum":"h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M=","Replace":null},{"Path":"github.com/prometheus/common","Version":"v0.32.1","Sum":"h1:hWIdL3N2HoUx3B8j3YN9mWor0qhY/NlEKZEaXxuIRh4=","Replace":null},{"Path":"github.com/prometheus/procfs","Version":"v0.7.3","Sum":"h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU=","Replace":null},{"Path":"github.com/quasilyte/go-ruleguard","Version":"v0.3.19","Sum":"h1:tfMnabXle/HzOb5Xe9CUZYWXKfkS1KwRmZyPmD9nVcc=","Replace":null},{"Path":"github.com/quasilyte/gogrep","Version":"v0.5.0","Sum":"h1:eTKODPXbI8ffJMN+W2aE0+oL0z/nh8/5eNdiO34SOAo=","Replace":null},{"Path":"github.com/quasilyte/regex/syntax","Version":"v0.0.0-20200407221936-30656e2c4a95","Sum":"h1:L8QM9bvf68pVdQ3bCFZMDmnt9yqcMBro1pC7F+IPYMY=","Replace":null},{"Path":"github.com/quasilyte/stdinfo","Version":"v0.0.0-20220114132959-f7386bf02567","Sum":"h1:M8mH9eK4OUR4lu7Gd+PU1fV2/qnDNfzT635KRSObncs=","Replace":null},{"Path":"github.com/ryancurrah/gomodguard","Version":"v1.3.0","Sum":"h1:q15RT/pd6UggBXVBuLps8BXRvl5GPBcwVA7BJHMLuTw=","Replace":null},{"Path":"github.com/ryanrolds/sqlclosecheck","Version":"v0.4.0","Sum":"h1:i8SX60Rppc1wRuyQjMciLqIzV3xnoHB7/tXbr6RGYNI=","Replace":null},{"Path":"github.com/sanposhiho/wastedassign/v2","Version":"v2.0.7","Sum":"h1:J+6nrY4VW+gC9xFzUc+XjPD3g3wF3je/NsJFwFK7Uxc=","Replace":null},{"Path":"github.com/sashamelentyev/interfacebloat","Version":"v1.1.0","Sum":"h1:xdRdJp0irL086OyW1H/RTZTr1h/tMEOsumirXcOJqAw=","Replace":null},{"Path":"github.com/sashamelentyev/usestdlibvars","Version":"v1.23.0","Sum":"h1:01h+/2Kd+NblNItNeux0veSL5cBF1jbEOPrEhDzGYq0=","Replace":null},{"Path":"github.com/securego/gosec/v2","Version":"v2.15.0","Sum":"h1:v4Ym7FF58/jlykYmmhZ7mTm7FQvN/setNm++0fgIAtw=","Replace":null},{"Path":"github.com/shazow/go-diff","Version":"v0.0.0-20160112020656-b6b7b6733b8c","Sum":"h1:W65qqJCIOVP4jpqPQ0YvHYKwcMEMVWIzWC5iNQQfBTU=","Replace":null},{"Path":"github.com/sirupsen/logrus","Version":"v1.9.0","Sum":"h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0=","Replace":null},{"Path":"github.com/sivchari/containedctx","Version":"v1.0.2","Sum":"h1:0hLQKpgC53OVF1VT7CeoFHk9YKstur1XOgfYIc1yrHI=","Replace":null},{"Path":"github.com/sivchari/nosnakecase","Version":"v1.7.0","Sum":"h1:7QkpWIRMe8x25gckkFd2A5Pi6Ymo0qgr4JrhGt95do8=","Replace":null},{"Path":"github.com/sivchari/tenv","Version":"v1.7.1","Sum":"h1:PSpuD4bu6fSmtWMxSGWcvqUUgIn7k3yOJhOIzVWn8Ak=","Replace":null},{"Path":"github.com/sonatard/noctx","Version":"v0.0.1","Sum":"h1:VC1Qhl6Oxx9vvWo3UDgrGXYCeKCe3Wbw7qAWL6FrmTY=","Replace":null},{"Path":"github.com/sourcegraph/go-diff","Version":"v0.7.0","Sum":"h1:9uLlrd5T46OXs5qpp8L/MTltk0zikUGi0sNNyCpA8G0=","Replace":null},{"Path":"github.com/spf13/afero","Version":"v1.8.2","Sum":"h1:xehSyVa0YnHWsJ49JFljMpg1HX19V6NDZ1fkm1Xznbo=","Replace":null},{"Path":"github.com/spf13/cast","Version":"v1.5.0","Sum":"h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w=","Replace":null},{"Path":"github.com/spf13/cobra","Version":"v1.6.1","Sum":"h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA=","Replace":null},{"Path":"github.com/spf13/jwalterweatherman","Version":"v1.1.0","Sum":"h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=","Replace":null},{"Path":"github.com/spf13/pflag","Version":"v1.0.5","Sum":"h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=","Replace":null},{"Path":"github.com/spf13/viper","Version":"v1.12.0","Sum":"h1:CZ7eSOd3kZoaYDLbXnmzgQI5RlciuXBMA+18HwHRfZQ=","Replace":null},{"Path":"github.com/ssgreg/nlreturn/v2","Version":"v2.2.1","Sum":"h1:X4XDI7jstt3ySqGU86YGAURbxw3oTDPK9sPEi6YEwQ0=","Replace":null},{"Path":"github.com/stbenjam/no-sprintf-host-port","Version":"v0.1.1","Sum":"h1:tYugd/yrm1O0dV+ThCbaKZh195Dfm07ysF0U6JQXczc=","Replace":null},{"Path":"github.com/stretchr/objx","Version":"v0.5.0","Sum":"h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c=","Replace":null},{"Path":"github.com/stretchr/testify","Version":"v1.8.1","Sum":"h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=","Replace":null},{"Path":"github.com/subosito/gotenv","Version":"v1.4.1","Sum":"h1:jyEFiXpy21Wm81FBN71l9VoMMV8H8jG+qIK3GCpY6Qs=","Replace":null},{"Path":"github.com/tdakkota/asciicheck","Version":"v0.1.1","Sum":"h1:PKzG7JUTUmVspQTDqtkX9eSiLGossXTybutHwTXuO0A=","Replace":null},{"Path":"github.com/tetafro/godot","Version":"v1.4.11","Sum":"h1:BVoBIqAf/2QdbFmSwAWnaIqDivZdOV0ZRwEm6jivLKw=","Replace":null},{"Path":"github.com/timakin/bodyclose","Version":"v0.0.0-20221125081123-e39cf3fc478e","Sum":"h1:MV6KaVu/hzByHP0UvJ4HcMGE/8a6A4Rggc/0wx2AvJo=","Replace":null},{"Path":"github.com/timonwong/loggercheck","Version":"v0.9.3","Sum":"h1:ecACo9fNiHxX4/Bc02rW2+kaJIAMAes7qJ7JKxt0EZI=","Replace":null},{"Path":"github.com/tomarrell/wrapcheck/v2","Version":"v2.8.0","Sum":"h1:qDzbir0xmoE+aNxGCPrn+rUSxAX+nG6vREgbbXAR81I=","Replace":null},{"Path":"github.com/tommy-muehle/go-mnd/v2","Version":"v2.5.1","Sum":"h1:NowYhSdyE/1zwK9QCLeRb6USWdoif80Ie+v+yU8u1Zw=","Replace":null},{"Path":"github.com/ultraware/funlen","Version":"v0.0.3","Sum":"h1:5ylVWm8wsNwH5aWo9438pwvsK0QiqVuUrt9bn7S/iLA=","Replace":null},{"Path":"github.com/ultraware/whitespace","Version":"v0.0.5","Sum":"h1:hh+/cpIcopyMYbZNVov9iSxvJU3OYQg78Sfaqzi/CzI=","Replace":null},{"Path":"github.com/uudashr/gocognit","Version":"v1.0.6","Sum":"h1:2Cgi6MweCsdB6kpcVQp7EW4U23iBFQWfTXiWlyp842Y=","Replace":null},{"Path":"github.com/yagipy/maintidx","Version":"v1.0.0","Sum":"h1:h5NvIsCz+nRDapQ0exNv4aJ0yXSI0420omVANTv3GJM=","Replace":null},{"Path":"github.com/yeya24/promlinter","Version":"v0.2.0","Sum":"h1:xFKDQ82orCU5jQujdaD8stOHiv8UN68BSdn2a8u8Y3o=","Replace":null},{"Path":"gitlab.com/bosi/decorder","Version":"v0.2.3","Sum":"h1:gX4/RgK16ijY8V+BRQHAySfQAb354T7/xQpDB2n10P0=","Replace":null},{"Path":"go.uber.org/atomic","Version":"v1.7.0","Sum":"h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw=","Replace":null},{"Path":"go.uber.org/multierr","Version":"v1.6.0","Sum":"h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4=","Replace":null},{"Path":"go.uber.org/zap","Version":"v1.17.0","Sum":"h1:MTjgFu6ZLKvY6Pvaqk97GlxNBuMpV4Hy/3P6tRGlI2U=","Replace":null},{"Path":"golang.org/x/exp","Version":"v0.0.0-20220722155223-a9213eeb770e","Sum":"h1:+WEEuIdZHnUeJJmEUjyYC2gfUMj69yZXw17EnHg/otA=","Replace":null},{"Path":"golang.org/x/exp/typeparams","Version":"v0.0.0-20230203172020-98cc5a0785f9","Sum":"h1:6WHiuFL9FNjg8RljAaT7FNUuKDbvMqS1i5cr2OE2sLQ=","Replace":null},{"Path":"golang.org/x/mod","Version":"v0.8.0","Sum":"h1:LUYupSeNrTNCGzR/hVBk2NHZO4hXcVaW1k4Qx7rjPx8=","Replace":null},{"Path":"golang.org/x/sync","Version":"v0.1.0","Sum":"h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=","Replace":null},{"Path":"golang.org/x/sys","Version":"v0.5.0","Sum":"h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU=","Replace":null},{"Path":"golang.org/x/text","Version":"v0.6.0","Sum":"h1:3XmdazWV+ubf7QgHSTWeykHOci5oeekaGJBLkrkaw4k=","Replace":null},{"Path":"golang.org/x/tools","Version":"v0.6.0","Sum":"h1:BOw41kyTf3PuCW1pVQf8+Cyg8pMlkYB1oo9iJ6D/lKM=","Replace":null},{"Path":"google.golang.org/protobuf","Version":"v1.28.0","Sum":"h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw=","Replace":null},{"Path":"gopkg.in/ini.v1","Version":"v1.67.0","Sum":"h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA=","Replace":null},{"Path":"gopkg.in/yaml.v2","Version":"v2.4.0","Sum":"h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=","Replace":null},{"Path":"gopkg.in/yaml.v3","Version":"v3.0.1","Sum":"h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=","Replace":null},{"Path":"honnef.co/go/tools","Version":"v0.4.2","Sum":"h1:6qXr+R5w+ktL5UkwEbPp+fEvfyoMPche6GkOpGHZcLc=","Replace":null},{"Path":"mvdan.cc/gofumpt","Version":"v0.4.0","Sum":"h1:JVf4NN1mIpHogBj7ABpgOyZc65/UUOkKQFkoURsz4MM=","Replace":null},{"Path":"mvdan.cc/interfacer","Version":"v0.0.0-20180901003855-c20040233aed","Sum":"h1:WX1yoOaKQfddO/mLzdV4wptyWgoH/6hwLs7QHTixo0I=","Replace":null},{"Path":"mvdan.cc/lint","Version":"v0.0.0-20170908181259-adc824a0674b","Sum":"h1:DxJ5nJdkhDlLok9K6qO+5290kphDJbHOQO1DFFFTeBo=","Replace":null},{"Path":"mvdan.cc/unparam","Version":"v0.0.0-20221223090309-7455f1af531d","Sum":"h1:3rvTIIM22r9pvXk+q3swxUQAQOxksVMGK7sml4nG57w=","Replace":null}],"Settings":[{"Key":"-buildmode","Value":"exe"},{"Key":"-compiler","Value":"gc"},{"Key":"CGO_ENABLED","Value":"1"},{"Key":"CGO_CFLAGS","Value":""},{"Key":"CGO_CPPFLAGS","Value":""},{"Key":"CGO_CXXFLAGS","Value":""},{"Key":"CGO_LDFLAGS","Value":""},{"Key":"GOARCH","Value":"amd64"},{"Key":"GOOS","Value":"linux"},{"Key":"GOAMD64","Value":"v1"}]}}

@ldez ldez added enhancement New feature or improvement area: CLI Related to CLI labels Feb 22, 2023
@ldez ldez force-pushed the feat/info-goversion branch 2 times, most recently from 00eb94e to d9f636b Compare February 22, 2023 11:27
@ldez ldez requested a review from bombsimon February 22, 2023 11:28
@ennc0d3
Copy link

ennc0d3 commented Feb 22, 2023

Using go version -m $(which golangci-lint), Would also produce the same information and then why we need this --debug option? Just trying to understand. Thanks

@ldez
Copy link
Member Author

ldez commented Feb 22, 2023

The --debug flag is useful for new issues: it allows us to get useful information with only one command.
As a user, you don't need this flag except if you want to open a new issue.

Copy link
Member

@bombsimon bombsimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

cmd/golangci-lint/main.go Outdated Show resolved Hide resolved
@ldez ldez merged commit e5b3064 into golangci:master Mar 1, 2023
@ldez ldez deleted the feat/info-goversion branch March 1, 2023 23:34
SeigeC pushed a commit to SeigeC/golangci-lint that referenced this pull request Apr 4, 2023
@ldez ldez added this to the v1.52 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: CLI Related to CLI enhancement New feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants