Skip to content

dev: add Go version to version information #3625

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

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
@ldez ldez force-pushed the feat/info-goversion branch from d9f636b to 8801bc1 Compare February 22, 2023 11:31
@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

@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