├── .eslintrc.json ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ └── feature_request.yml ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yml ├── release.yml └── workflows │ ├── codeql.yaml │ └── test.yml ├── .gitignore ├── .golangci.yml ├── .nvmrc ├── .prettierrc.json ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── action.yml ├── dist ├── matchers.json ├── post_run │ └── index.js └── run │ └── index.js ├── go.mod ├── package-lock.json ├── package.json ├── problem-matchers.json ├── sample-go-mod ├── .golangci.yml ├── go.mod ├── go.sum ├── sample.go └── tools.go ├── sample-go-tool ├── .golangci.yml ├── go.mod ├── go.sum └── sample.go ├── sample └── sample.go ├── src ├── cache.ts ├── constants.ts ├── deps.d.ts ├── install.ts ├── main.ts ├── patch.ts ├── post_main.ts ├── run.ts ├── utils │ ├── actionUtils.ts │ └── diffUtils.ts └── version.ts ├── static ├── annotations.png └── colored-line-number.png └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "node": true, 4 | "jest": true 5 | }, 6 | "parser": "@typescript-eslint/parser", 7 | "parserOptions": { 8 | "ecmaVersion": 2020, 9 | "sourceType": "module" 10 | }, 11 | "extends": [ 12 | "eslint:recommended", 13 | "plugin:@typescript-eslint/eslint-recommended", 14 | "plugin:@typescript-eslint/recommended", 15 | "plugin:import/errors", 16 | "plugin:import/warnings", 17 | "plugin:import/typescript", 18 | "plugin:prettier/recommended" 19 | ], 20 | "plugins": [ 21 | "@typescript-eslint", 22 | "simple-import-sort" 23 | ], 24 | "rules": { 25 | "import/first": "error", 26 | "import/newline-after-import": "error", 27 | "import/no-duplicates": "error", 28 | "simple-import-sort/imports": "error", 29 | "simple-import-sort/exports": "error", 30 | "sort-imports": "off" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | dist/** linguist-generated=true -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- 1 | name: 🐞 Bug Report 2 | description: "Create a report to help us improve." 3 | body: 4 | - type: checkboxes 5 | id: terms 6 | attributes: 7 | label: Welcome 8 | options: 9 | - label: Yes, I understand that the GitHub action repository is not the repository of golangci-lint itself. 10 | required: true 11 | - label: Yes, I've searched similar issues on GitHub and didn't find any. 12 | required: true 13 | - label: Yes, I've included all information below (version, config, etc). 14 | required: true 15 | 16 | - type: textarea 17 | id: problem 18 | attributes: 19 | label: Description of the problem 20 | placeholder: Your problem description 21 | validations: 22 | required: true 23 | 24 | - type: input 25 | id: golangci-lint-version 26 | attributes: 27 | label: Version of golangci-lint 28 | validations: 29 | required: true 30 | 31 | - type: input 32 | id: github-action-version 33 | attributes: 34 | label: Version of the GitHub Action 35 | validations: 36 | required: true 37 | 38 | - type: textarea 39 | id: workflow-file 40 | attributes: 41 | label: Workflow file 42 | value: |- 43 |
44 | 45 | ```yml 46 | 47 | ``` 48 | 49 |
50 | validations: 51 | required: true 52 | 53 | - type: textarea 54 | id: config 55 | attributes: 56 | label: Golangci-lint configuration 57 | value: |- 58 |
59 | 60 | ```yml 61 | 62 | ``` 63 | 64 |
65 | validations: 66 | required: true 67 | 68 | - type: input 69 | id: go-env 70 | attributes: 71 | label: Go version 72 | validations: 73 | required: true 74 | 75 | - type: textarea 76 | id: code-example 77 | attributes: 78 | label: Code example or link to a public repository 79 | value: |- 80 |
81 | 82 | ```go 83 | // add your code here 84 | ``` 85 | 86 |
87 | validations: 88 | required: true 89 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: 📖 Golangci-lint documentation 4 | url: https://golangci-lint.run 5 | about: Please take a look to our documentation. 6 | - name: ❓ Questions 7 | url: https://github.com/golangci/golangci-lint-action/discussions 8 | about: If you have a question, or are looking for advice, please post on our Discussions forum! 9 | - name: 💬 Chat on Slack 10 | url: https://gophers.slack.com/archives/CS0TBRKPC 11 | about: Maybe chatting with the community can help 12 | - name: 🏡 Golangci-lint main repository 13 | url: https://github.com/golangci/golangci-lint 14 | about: The main repository of golangci-lint. 15 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- 1 | name: 💡 Feature request 2 | description: "Suggest an idea for this project." 3 | body: 4 | - type: checkboxes 5 | id: terms 6 | attributes: 7 | label: Welcome 8 | options: 9 | - label: Yes, I understand that the GitHub action repository is not the repository of golangci-lint itself. 10 | required: true 11 | - label: Yes, I've searched similar issues on GitHub and didn't find any. 12 | required: true 13 | 14 | - type: textarea 15 | id: problem 16 | attributes: 17 | label: Your feature request related to a problem? Please describe. 18 | placeholder: "A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]" 19 | validations: 20 | required: true 21 | 22 | - type: textarea 23 | id: solution 24 | attributes: 25 | label: Describe the solution you'd like. 26 | placeholder: "A clear and concise description of what you want to happen." 27 | validations: 28 | required: true 29 | 30 | - type: textarea 31 | id: alternatives 32 | attributes: 33 | label: Describe alternatives you've considered. 34 | placeholder: "A clear and concise description of any alternative solutions or features you've considered." 35 | validations: 36 | required: true 37 | 38 | - type: textarea 39 | id: additional 40 | attributes: 41 | label: Additional context. 42 | placeholder: "Add any other context or screenshots about the feature request here." 43 | validations: 44 | required: false 45 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: github-actions 4 | directory: "/" 5 | schedule: 6 | interval: weekly 7 | - package-ecosystem: npm 8 | directory: "/" 9 | groups: 10 | dev-dependencies: 11 | dependency-type: development 12 | dependencies: 13 | dependency-type: production 14 | schedule: 15 | interval: weekly 16 | -------------------------------------------------------------------------------- /.github/release.yml: -------------------------------------------------------------------------------- 1 | changelog: 2 | categories: 3 | - title: Changes 4 | labels: 5 | - '*' 6 | exclude: 7 | labels: 8 | - documentation 9 | - dependencies 10 | - title: Documentation 11 | labels: 12 | - documentation 13 | - title: Dependencies 14 | labels: 15 | - dependencies 16 | -------------------------------------------------------------------------------- /.github/workflows/codeql.yaml: -------------------------------------------------------------------------------- 1 | name: "Code Scanning - Action" 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | pull_request: 8 | # The branches below must be a subset of the branches above 9 | branches: 10 | - main 11 | schedule: 12 | - cron: '0 17 * * 5' 13 | 14 | jobs: 15 | codeQL: 16 | # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest 17 | runs-on: ubuntu-latest 18 | 19 | steps: 20 | - name: Checkout repository 21 | uses: actions/checkout@v4 22 | with: 23 | # Must fetch at least the immediate parents so that if this is 24 | # a pull request then we can checkout the head of the pull request. 25 | # Only include this option if you are running this workflow on pull requests. 26 | fetch-depth: 2 27 | 28 | # If this run was triggered by a pull request event then checkout 29 | # the head of the pull request instead of the merge commit. 30 | # Only include this step if you are running this workflow on pull requests. 31 | - run: git checkout HEAD^2 32 | if: ${{ github.event_name == 'pull_request' }} 33 | 34 | # Initializes the CodeQL tools for scanning. 35 | - name: Initialize CodeQL 36 | uses: github/codeql-action/init@v3 37 | # Override language selection by uncommenting this and choosing your languages 38 | with: 39 | language: 'javascript' 40 | 41 | - run: | 42 | npm install 43 | npm run all 44 | 45 | - name: Perform CodeQL Analysis 46 | uses: github/codeql-action/analyze@v3 47 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | name: "build-and-test" 2 | on: # rebuild any PRs and main branch changes 3 | pull_request: 4 | branches: 5 | - main 6 | push: 7 | branches: 8 | - main 9 | 10 | jobs: 11 | build: # make sure build/ci work properly 12 | runs-on: ubuntu-latest 13 | steps: 14 | - if: ${{ !(github.event_name == 'pull_request' && (github.event.pull_request.user.id == 49699333 || contains(github.event.pull_request.labels.*.name, 'dependencies'))) }} 15 | uses: actions/checkout@v4 16 | - if: github.event_name == 'pull_request' && (github.event.pull_request.user.id == 49699333 || contains(github.event.pull_request.labels.*.name, 'dependencies')) 17 | uses: actions/checkout@v4 18 | with: 19 | fetch-depth: 0 20 | ref: ${{ github.event.pull_request.head.ref }} 21 | 22 | - run: | 23 | npm install 24 | npm run all 25 | 26 | # Update dist files if there is label dependencies or pull request' author is dependabot[bot] (id = 49699333) 27 | - name: Update dist files 28 | if: github.event_name == 'pull_request' && (github.event.pull_request.user.id == 49699333 || contains(github.event.pull_request.labels.*.name, 'dependencies')) 29 | run: | 30 | if [[ -z $(git status -s) ]] 31 | then 32 | echo "No change is required" 33 | else 34 | echo "Updating dist directory" 35 | git config --local user.name "dependabot[bot]" 36 | git config --local user.email "49699333+dependabot[bot]@users.noreply.github.com" 37 | git add --update 38 | git commit --message="Update dist files" 39 | git push 40 | fi 41 | 42 | # Fail the build if there is dirty change 43 | - run: git diff --exit-code 44 | 45 | test: # make sure the action works on a clean machine without building 46 | needs: [ build ] 47 | strategy: 48 | matrix: 49 | os: 50 | - ubuntu-latest 51 | - ubuntu-22.04-arm 52 | - macos-latest 53 | - windows-latest 54 | version: 55 | - "" 56 | - "latest" 57 | - "v2.1" 58 | - "v2.1.0" 59 | runs-on: ${{ matrix.os }} 60 | permissions: 61 | contents: read 62 | pull-requests: read 63 | steps: 64 | - uses: actions/checkout@v4 65 | - uses: actions/setup-go@v5 66 | with: 67 | go-version: oldstable 68 | - uses: ./ 69 | with: 70 | version: ${{ matrix.version }} 71 | args: --timeout=5m --issues-exit-code=0 ./sample/... 72 | only-new-issues: true 73 | 74 | test-go-install: # make sure the action works on a clean machine without building (go-install mode) 75 | needs: [ build ] 76 | strategy: 77 | matrix: 78 | os: 79 | - ubuntu-latest 80 | - ubuntu-22.04-arm 81 | - macos-latest 82 | - windows-latest 83 | version: 84 | - "" 85 | - "latest" 86 | - "v2.1.0" 87 | - "f6c2e6c999dfae444d1fe7f1b0d49becdae44547" 88 | runs-on: ${{ matrix.os }} 89 | permissions: 90 | contents: read 91 | pull-requests: read 92 | steps: 93 | - uses: actions/checkout@v4 94 | - uses: actions/setup-go@v5 95 | with: 96 | go-version: oldstable 97 | - uses: ./ 98 | with: 99 | version: ${{ matrix.version }} 100 | args: --timeout=5m --issues-exit-code=0 ./sample/... 101 | only-new-issues: true 102 | install-mode: goinstall 103 | 104 | test-go-mod: 105 | needs: [ build ] 106 | strategy: 107 | matrix: 108 | os: 109 | - ubuntu-latest 110 | - ubuntu-22.04-arm 111 | - macos-latest 112 | - windows-latest 113 | wd: 114 | - sample-go-mod 115 | - sample-go-tool 116 | runs-on: ${{ matrix.os }} 117 | permissions: 118 | contents: read 119 | steps: 120 | - uses: actions/checkout@v4 121 | - uses: actions/setup-go@v5 122 | with: 123 | go-version: oldstable 124 | - uses: ./ 125 | with: 126 | working-directory: ${{ matrix.wd }} 127 | args: --timeout=5m --issues-exit-code=0 ./... 128 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # symlink for `act` 2 | /golangci-lint-action 3 | 4 | __tests__/runner/* 5 | 6 | node_modules/ 7 | lib/ 8 | 9 | # Rest pulled from https://github.com/github/gitignore/blob/HEAD/Node.gitignore 10 | # Logs 11 | logs 12 | *.log 13 | npm-debug.log* 14 | yarn-debug.log* 15 | yarn-error.log* 16 | lerna-debug.log* 17 | 18 | # Diagnostic reports (https://nodejs.org/api/report.html) 19 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 20 | 21 | # Runtime data 22 | pids 23 | *.pid 24 | *.seed 25 | *.pid.lock 26 | 27 | # Directory for instrumented libs generated by jscoverage/JSCover 28 | lib-cov 29 | 30 | # Coverage directory used by tools like istanbul 31 | coverage 32 | *.lcov 33 | 34 | # nyc test coverage 35 | .nyc_output 36 | 37 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 38 | .grunt 39 | 40 | # Bower dependency directory (https://bower.io/) 41 | bower_components 42 | 43 | # node-waf configuration 44 | .lock-wscript 45 | 46 | # Compiled binary addons (https://nodejs.org/api/addons.html) 47 | build/Release 48 | 49 | # Dependency directories 50 | jspm_packages/ 51 | 52 | # TypeScript v1 declaration files 53 | typings/ 54 | 55 | # TypeScript cache 56 | *.tsbuildinfo 57 | 58 | # Optional npm cache directory 59 | .npm 60 | 61 | # Optional eslint cache 62 | .eslintcache 63 | 64 | # Optional REPL history 65 | .node_repl_history 66 | 67 | # Output of 'npm pack' 68 | *.tgz 69 | 70 | # Yarn Integrity file 71 | .yarn-integrity 72 | 73 | # dotenv environment variables file 74 | .env 75 | .env.test 76 | 77 | # parcel-bundler cache (https://parceljs.org/) 78 | .cache 79 | 80 | # next.js build output 81 | .next 82 | 83 | # nuxt.js build output 84 | .nuxt 85 | 86 | # vuepress build output 87 | .vuepress/dist 88 | 89 | # Serverless directories 90 | .serverless/ 91 | 92 | # FuseBox cache 93 | .fusebox/ 94 | 95 | # DynamoDB Local files 96 | .dynamodb/ 97 | 98 | # Text editor files 99 | .vscode/ 100 | 101 | # IntelliJ/WebStorm files 102 | .idea 103 | -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- 1 | version: "2" 2 | 3 | output: 4 | show-stats: true 5 | sort-order: 6 | - file 7 | - linter 8 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v16 2 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "endOfLine": "lf", 3 | "semi": false, 4 | "singleQuote": false, 5 | "tabWidth": 2, 6 | "trailingComma": "es5", 7 | "printWidth": 140, 8 | "parser": "typescript" 9 | } -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | ## How to contribute 2 | 3 | ### Did you find a bug? 4 | 5 | * **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/golangci/golangci-lint-action/issues). 6 | 7 | * If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/golangci/golangci-lint-action/issues/new). 8 | Be sure to include a **title and clear description**, as much relevant information as possible, 9 | and a **code sample** or an **executable test case** demonstrating the expected behavior that is not occurring. 10 | 11 | * **Do not open up a GitHub issue if the bug is a security vulnerability**, 12 | and instead to refer to our [security policy](https://github.com/golangci/golangci-lint-action?tab=security-ov-file). 13 | 14 | ### Do you intend to add a new feature or change an existing one? 15 | 16 | * Suggest your change inside an [issue](https://github.com/golangci/golangci-lint-action/issues). 17 | 18 | * Do not open a pull request on GitHub until you have collected positive feedback about the change. 19 | 20 | ### Did you write a patch that fixes a bug? 21 | 22 | * Open a new GitHub pull request with the patch. 23 | 24 | * Ensure the PR description clearly describes the problem and solution. 25 | Include the relevant issue number if applicable. 26 | 27 | ## Development of this action 28 | 29 | 1. Install [act](https://github.com/nektos/act#installation) 30 | 2. Make a symlink for `act` to work properly: `ln -s . golangci-lint-action` 31 | 3. Install dependencies: `npm install` 32 | 4. Build: `npm run build` 33 | 5. Run `npm run local` after any change to test it 34 | 35 | ### Releases 36 | 37 | ```bash 38 | npm version -m "Upgrade to %s" 39 | ``` 40 | 41 | - https://docs.npmjs.com/cli/v11/commands/npm-version 42 | 43 | The "major tag" (ex: `v6`) should be deleted and then recreated manually. 44 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # golangci-lint-action 2 | 3 | [![Build Status](https://github.com/golangci/golangci-lint-action/workflows/build-and-test/badge.svg)](https://github.com/golangci/golangci-lint-action/actions) 4 | 5 | It's the official GitHub Action for [golangci-lint](https://github.com/golangci/golangci-lint) from its authors. 6 | 7 | The action runs [golangci-lint](https://github.com/golangci/golangci-lint) and reports issues from linters. 8 | 9 | ![GitHub Annotations](./static/annotations.png) 10 | 11 | ![Logs](./static/colored-line-number.png) 12 | 13 | ## Supporting Us 14 | 15 | [![GitHub Sponsors](https://img.shields.io/badge/GitHub-Donate-blue?logo=github&style=for-the-badge)](https://github.com/sponsors/golangci) 16 | [![Open Collective backers and sponsors](https://img.shields.io/badge/OpenCollective-Donate-blue?logo=opencollective&style=for-the-badge)](https://opencollective.com/golangci-lint) 17 | [![Linter Authors](https://img.shields.io/badge/Linter_Authors-Donate-blue?style=for-the-badge)](https://golangci-lint.run/product/thanks/) 18 | 19 | `golangci-lint` is a free and open-source project built by volunteers. 20 | 21 | If you value it, consider supporting us; we appreciate it! :heart: 22 | 23 | ## How to use 24 | 25 | We recommend running this action in a job separate from other jobs (`go test`, etc.) 26 | because different jobs [run in parallel](https://help.github.com/en/actions/getting-started-with-github-actions/core-concepts-for-github-actions#job). 27 | 28 | Add a `.github/workflows/golangci-lint.yml` file with the following contents: 29 | 30 |
31 | Simple Example 32 | 33 | ```yaml 34 | name: golangci-lint 35 | on: 36 | push: 37 | branches: 38 | - main 39 | - master 40 | pull_request: 41 | 42 | permissions: 43 | contents: read 44 | # Optional: allow read access to pull requests. Use with `only-new-issues` option. 45 | # pull-requests: read 46 | 47 | jobs: 48 | golangci: 49 | name: lint 50 | runs-on: ubuntu-latest 51 | steps: 52 | - uses: actions/checkout@v4 53 | - uses: actions/setup-go@v5 54 | with: 55 | go-version: stable 56 | - name: golangci-lint 57 | uses: golangci/golangci-lint-action@v8 58 | with: 59 | version: v2.1 60 | ``` 61 | 62 |
63 | 64 |
65 | Multiple OS Example 66 | 67 | ```yaml 68 | name: golangci-lint 69 | on: 70 | push: 71 | branches: 72 | - main 73 | - master 74 | pull_request: 75 | 76 | permissions: 77 | contents: read 78 | # Optional: allow read access to pull requests. Use with `only-new-issues` option. 79 | # pull-requests: read 80 | 81 | jobs: 82 | golangci: 83 | strategy: 84 | matrix: 85 | go: [stable] 86 | os: [ubuntu-latest, macos-latest, windows-latest] 87 | name: lint 88 | runs-on: ${{ matrix.os }} 89 | steps: 90 | - uses: actions/checkout@v4 91 | - uses: actions/setup-go@v5 92 | with: 93 | go-version: ${{ matrix.go }} 94 | - name: golangci-lint 95 | uses: golangci/golangci-lint-action@v8 96 | with: 97 | version: v2.1 98 | ``` 99 | 100 | You will also likely need to add the following `.gitattributes` file to ensure that line endings for Windows builds are properly formatted: 101 | 102 | ```.gitattributes 103 | *.go text eol=lf 104 | ``` 105 | 106 |
107 | 108 |
109 | Go Workspace Example 110 | 111 | ```yaml 112 | name: golangci-lint 113 | 114 | on: 115 | pull_request: 116 | push: 117 | branches: 118 | - main 119 | - master 120 | 121 | env: 122 | GO_VERSION: stable 123 | GOLANGCI_LINT_VERSION: v2.1 124 | 125 | jobs: 126 | detect-modules: 127 | runs-on: ubuntu-latest 128 | outputs: 129 | modules: ${{ steps.set-modules.outputs.modules }} 130 | steps: 131 | - uses: actions/checkout@v4 132 | - uses: actions/setup-go@v5 133 | with: 134 | go-version: ${{ env.GO_VERSION }} 135 | - id: set-modules 136 | run: echo "modules=$(go list -m -json | jq -s '.' | jq -c '[.[].Dir]')" >> $GITHUB_OUTPUT 137 | 138 | golangci-lint: 139 | needs: detect-modules 140 | runs-on: ubuntu-latest 141 | strategy: 142 | matrix: 143 | modules: ${{ fromJSON(needs.detect-modules.outputs.modules) }} 144 | steps: 145 | - uses: actions/checkout@v4 146 | - uses: actions/setup-go@v5 147 | with: 148 | go-version: ${{ env.GO_VERSION }} 149 | - name: golangci-lint ${{ matrix.modules }} 150 | uses: golangci/golangci-lint-action@v8 151 | with: 152 | version: ${{ env.GOLANGCI_LINT_VERSION }} 153 | working-directory: ${{ matrix.modules }} 154 | ``` 155 | 156 |
157 | 158 |
159 | Go Workspace Example (Multiple OS) 160 | 161 | ```yaml 162 | # ./.github/workflows/golangci-lint.yml 163 | name: golangci-lint (multi OS) 164 | 165 | on: 166 | pull_request: 167 | push: 168 | branches: 169 | - main 170 | - master 171 | 172 | jobs: 173 | golangci-lint: 174 | strategy: 175 | matrix: 176 | go-version: [ stable, oldstable ] 177 | os: [ubuntu-latest, macos-latest, windows-latest] 178 | uses: ./.github/workflows/.golangci-lint-reusable.yml 179 | with: 180 | os: ${{ matrix.os }} 181 | go-version: ${{ matrix.go-version }} 182 | golangci-lint-version: v2.1 183 | ``` 184 | 185 | ```yaml 186 | # ./.github/workflows/.golangci-lint-reusable.yml 187 | name: golangci-lint-reusable 188 | 189 | on: 190 | workflow_call: 191 | inputs: 192 | os: 193 | description: 'OS' 194 | required: true 195 | type: string 196 | go-version: 197 | description: 'Go version' 198 | required: true 199 | type: string 200 | default: stable 201 | golangci-lint-version: 202 | description: 'Golangci-lint version' 203 | type: string 204 | default: 'v2.1' 205 | 206 | jobs: 207 | detect-modules: 208 | runs-on: ${{ inputs.os }} 209 | outputs: 210 | modules: ${{ steps.set-modules.outputs.modules }} 211 | steps: 212 | - uses: actions/checkout@v4 213 | - uses: actions/setup-go@v5 214 | with: 215 | go-version: ${{ inputs.go-version }} 216 | - id: set-modules 217 | shell: bash # required for Windows to be able to use $GITHUB_OUTPUT https://github.com/actions/runner/issues/2224 218 | run: echo "modules=$(go list -m -json | jq -s '.' | jq -c '[.[].Dir]')" >> $GITHUB_OUTPUT 219 | 220 | golangci-lint: 221 | needs: detect-modules 222 | runs-on: ${{ inputs.os }} 223 | strategy: 224 | matrix: 225 | modules: ${{ fromJSON(needs.detect-modules.outputs.modules) }} 226 | steps: 227 | - uses: actions/checkout@v4 228 | - uses: actions/setup-go@v5 229 | with: 230 | go-version: ${{ inputs.go-version }} 231 | - name: golangci-lint ${{ matrix.modules }} 232 | uses: golangci/golangci-lint-action@v8 233 | with: 234 | version: ${{ inputs.golangci-lint-version }} 235 | working-directory: ${{ matrix.modules }} 236 | ``` 237 | 238 | You will also likely need to add the following `.gitattributes` file to ensure that line endings for Windows builds are properly formatted: 239 | 240 | ```.gitattributes 241 | *.go text eol=lf 242 | ``` 243 | 244 |
245 | 246 | ## Compatibility 247 | 248 | * `v8.0.0` works with `golangci-lint` version >= `v2.1.0` 249 | * `v7.0.0` supports golangci-lint v2 only. 250 | * `v6.0.0+` removes `annotations` option, removes the default output format (`github-actions`). 251 | * `v5.0.0+` removes `skip-pkg-cache` and `skip-build-cache` because the cache related to Go itself is already handled by `actions/setup-go`. 252 | * `v4.0.0+` requires an explicit `actions/setup-go` installation step before using this action: `uses: actions/setup-go@v5`. 253 | The `skip-go-installation` option has been removed. 254 | * `v2.0.0+` works with `golangci-lint` version >= `v1.28.3` 255 | * `v1.2.2` is deprecated because we forgot to change the minimum version of `golangci-lint` to `v1.28.3` ([issue](https://github.com/golangci/golangci-lint-action/issues/39)) 256 | * `v1.2.1` works with `golangci-lint` version >= `v1.14.0` ([issue](https://github.com/golangci/golangci-lint-action/issues/39)) 257 | 258 | ## Options 259 | 260 | ### `version` 261 | 262 | (optional) 263 | 264 | The version of golangci-lint to use. 265 | 266 | When `install-mode` is: 267 | * `binary` (default): the value can be v2.3, v2.3.4, or `latest` to use the latest version. 268 | * `goinstall`: the value can be v2.3.4, `latest`, or the hash of a commit. 269 | * `none`: the value is ignored. 270 | 271 |
272 | Example 273 | 274 | ```yml 275 | uses: golangci/golangci-lint-action@v8 276 | with: 277 | version: v2.1 278 | # ... 279 | ``` 280 | 281 |
282 | 283 | ### `install-mode` 284 | 285 | (optional) 286 | 287 | The mode to install golangci-lint: it can be `binary`, `goinstall`, or `none`. 288 | 289 | The default value is `binary`. 290 | 291 |
292 | Example 293 | 294 | ```yml 295 | uses: golangci/golangci-lint-action@v8 296 | with: 297 | install-mode: "goinstall" 298 | # ... 299 | ``` 300 | 301 |
302 | 303 | ### `github-token` 304 | 305 | (optional) 306 | 307 | When using the `only-new-issues` option, the GitHub API is used, so a token is required. 308 | 309 | By default, it uses the `github.token` from the action. 310 | 311 |
312 | Example 313 | 314 | ```yml 315 | uses: golangci/golangci-lint-action@v8 316 | with: 317 | github-token: xxx 318 | # ... 319 | ``` 320 | 321 |
322 | 323 | ### `verify` 324 | 325 | (optional) 326 | 327 | This option is `true` by default. 328 | 329 | If the GitHub Action detects a configuration file, validation will be performed unless this option is set to `false`. 330 | If there is no configuration file, validation is skipped. 331 | 332 | The JSON Schema used to validate the configuration depends on the version of golangci-lint you are using. 333 | 334 |
335 | Example 336 | 337 | ```yml 338 | uses: golangci/golangci-lint-action@v8 339 | with: 340 | verify: false 341 | # ... 342 | ``` 343 | 344 |
345 | 346 | ### `only-new-issues` 347 | 348 | (optional) 349 | 350 | Show only new issues. 351 | 352 | The default value is `false`. 353 | 354 | * `pull_request` and `pull_request_target`: the action gets the diff of the PR content from the [GitHub API](https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#get-a-pull-request) and uses it with `--new-from-patch`. 355 | * `push`: the action gets the diff of the push content (the difference between commits before and after the push) from the [GitHub API](https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28#compare-two-commits) and uses it with `--new-from-patch`. 356 | * `merge_group`: the action gets the diff by using the `--new-from-rev` option (relies on git). 357 | You should add the option `fetch-depth: 0` to the `actions/checkout` step. 358 | 359 |
360 | Example 361 | 362 | ```yml 363 | uses: golangci/golangci-lint-action@v8 364 | with: 365 | only-new-issues: true 366 | # ... 367 | ``` 368 | 369 |
370 | 371 | ### `working-directory` 372 | 373 | (optional) 374 | 375 | The golangci-lint working directory, useful for monorepos. The default is the project root. 376 | 377 |
378 | Example 379 | 380 | ```yml 381 | uses: golangci/golangci-lint-action@v8 382 | with: 383 | working-directory: somedir 384 | # ... 385 | ``` 386 | 387 |
388 | 389 | ### `args` 390 | 391 | (optional) 392 | 393 | golangci-lint command line arguments. 394 | 395 | > [!NOTE] 396 | > By default, the `.golangci.yml` file should be at the root of the repository. 397 | > The location of the configuration file can be changed by using `--config=`. 398 | 399 | > [!IMPORTANT] 400 | > Adding a `=` between the flag name and its value is important because the action parses the arguments on spaces. 401 | 402 |
403 | Example 404 | 405 | ```yml 406 | uses: golangci/golangci-lint-action@v8 407 | with: 408 | # In some rare cases, 409 | # you may need to use `${{ github.workspace }}` as the base directory to reference your configuration file. 410 | args: --config=/my/path/.golangci.yml --issues-exit-code=0 411 | # ... 412 | ``` 413 | 414 |
415 | 416 | ### `problem-matchers` 417 | 418 | (optional) 419 | 420 | Forces the usage of the embedded problem matchers. 421 | 422 | By default, the [problem matcher of Go (`actions/setup-go`)](https://github.com/actions/setup-go/blob/main/matchers.json) already handles the default golangci-lint output (`text`). 423 | 424 | Works only with the `text` format (the golangci-lint default). 425 | 426 | https://golangci-lint.run/usage/configuration/#output-configuration 427 | 428 | The default value is `false`. 429 | 430 |
431 | Example 432 | 433 | ```yml 434 | uses: golangci/golangci-lint-action@v8 435 | with: 436 | problem-matchers: true 437 | # ... 438 | ``` 439 | 440 |
441 | 442 | ### `skip-cache` 443 | 444 | (optional) 445 | 446 | If set to `true`, all caching functionality will be completely disabled. 447 | This takes precedence over all other caching options. 448 | 449 | The default value is `false`. 450 | 451 |
452 | Example 453 | 454 | ```yml 455 | uses: golangci/golangci-lint-action@v8 456 | with: 457 | skip-cache: true 458 | # ... 459 | ``` 460 | 461 |
462 | 463 | ### `skip-save-cache` 464 | 465 | (optional) 466 | 467 | If set to `true`, caches will not be saved, but they may still be restored, requiring `skip-cache: false`. 468 | 469 | The default value is `false`. 470 | 471 |
472 | Example 473 | 474 | ```yml 475 | uses: golangci/golangci-lint-action@v8 476 | with: 477 | skip-save-cache: true 478 | # ... 479 | ``` 480 | 481 |
482 | 483 | ### `cache-invalidation-interval` 484 | 485 | (optional) 486 | 487 | Periodically invalidate a cache every `cache-invalidation-interval` days to ensure that outdated data is removed and fresh data is loaded. 488 | 489 | The default value is `7`. 490 | 491 | If the number is `<= 0`, the cache will always be invalidated (not recommended). 492 | 493 |
494 | Example 495 | 496 | ```yml 497 | uses: golangci/golangci-lint-action@v8 498 | with: 499 | cache-invalidation-interval: 15 500 | # ... 501 | ``` 502 | 503 |
504 | 505 | ## Annotations 506 | 507 | Currently, GitHub parses the action's output and creates [annotations](https://github.blog/2018-12-14-introducing-check-runs-and-annotations/). 508 | 509 | The restrictions of annotations are as follows: 510 | 511 | 1. Currently, they don't support Markdown formatting (see the [feature request](https://github.community/t5/GitHub-API-Development-and/Checks-Ability-to-include-Markdown-in-line-annotations/m-p/56704)). 512 | 2. They aren't shown in the list of comments. 513 | If you would like to have comments, please up-vote [the issue](https://github.com/golangci/golangci-lint-action/issues/5). 514 | 3. The number of annotations is [limited](https://github.com/actions/toolkit/blob/main/docs/problem-matchers.md#limitations). 515 | 516 | Permissions required: 517 | 518 | ```yaml annotate 519 | permissions: 520 | # Required: allow read access to the content for analysis. 521 | contents: read 522 | # Optional: allow read access to pull requests. Use with `only-new-issues` option. 523 | pull-requests: read 524 | ``` 525 | 526 | For annotations to work, use the default format output (`text`) and either use `actions/setup-go` in the job or enable the internal [problem matchers](#problem-matchers). 527 | 528 | ## Performance 529 | 530 | The action was implemented with performance in mind: 531 | 532 | 1. We cache data from golangci-lint analysis between builds by using [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache). 533 | 2. We don't use Docker because image pulling is slow. 534 | 3. We do as much as we can in parallel, e.g., we download the cache and the golangci-lint binary in parallel. 535 | 536 | For example, in the [golangci-lint](https://github.com/golangci/golangci-lint) repository, running this action without the cache takes 50s, but with the cache it takes 14s: 537 | * in parallel: 538 | * 4s to restore 50 MB of cache 539 | * 1s to find and install `golangci-lint` 540 | * 1s to run `golangci-lint` (it takes 35s without cache) 541 | 542 | ## Internals 543 | 544 | We use a JavaScript-based action. 545 | We don't use a Docker-based action because: 546 | 547 | 1. Pulling Docker images is currently slow. 548 | 2. It is easier to use caching from [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache). 549 | 550 | We support different platforms, such as `ubuntu`, `macos`, and `windows` with `x32` and `x64` architectures. 551 | 552 | Inside our action, we perform three steps: 553 | 554 | 1. Set up the environment in parallel: 555 | * Restore the [cache](https://github.com/actions/cache) from previous analyses. 556 | * Fetch the [action config](https://github.com/golangci/golangci-lint/blob/HEAD/assets/github-action-config.json) and find the latest `golangci-lint` patch version for the required version 557 | (users of this action can specify only the minor version of `golangci-lint`). 558 | After that, install [golangci-lint](https://github.com/golangci/golangci-lint) using [@actions/tool-cache](https://github.com/actions/toolkit/tree/HEAD/packages/tool-cache). 559 | 2. Run `golangci-lint` with the arguments `args` specified by the user. 560 | 3. Save the cache for later builds. 561 | 562 | ### Caching internals 563 | 564 | 1. We save and restore the following directory: `~/.cache/golangci-lint`. 565 | 2. The primary caching key looks like `golangci-lint.cache-{runner_os}-{working_directory}-{interval_number}-{go.mod_hash}`. 566 | The interval number ensures that we periodically invalidate our cache (every 7 days). 567 | The `go.mod` hash ensures that we invalidate the cache early — as soon as dependencies have changed. 568 | 3. We use [restore keys](https://help.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key): 569 | `golangci-lint.cache-{runner_os}-{working_directory}-{interval_number}-`. 570 | GitHub matches keys by prefix if there is no exact match for the primary cache. 571 | 572 | This scheme is basic and needs improvements. Pull requests and ideas are welcome. 573 | -------------------------------------------------------------------------------- /action.yml: -------------------------------------------------------------------------------- 1 | # https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions 2 | name: "Golangci-lint" 3 | description: "Official golangci-lint action with line-attached annotations for found issues, caching, and parallel execution." 4 | author: "golangci" 5 | inputs: 6 | version: 7 | description: | 8 | The version of golangci-lint to use. 9 | When `install-mode` is: 10 | - `binary` (default): the value can be v2.3, v2.3.4, or `latest` to use the latest version. 11 | - `goinstall`: the value can be v2.3.4, `latest`, or the hash of a commit. 12 | - `none`: the value is ignored. 13 | required: false 14 | install-mode: 15 | description: "The mode to install golangci-lint. It can be 'binary', 'goinstall', or 'none'." 16 | default: "binary" 17 | required: false 18 | working-directory: 19 | description: "golangci-lint working directory. The default is the project root." 20 | required: false 21 | github-token: 22 | description: "The token is used for fetching the patch of a pull request to show only new issues." 23 | default: ${{ github.token }} 24 | required: false 25 | verify: 26 | description: "If set to true, the action verifies the configuration file against the JSONSchema." 27 | default: 'true' 28 | required: false 29 | only-new-issues: 30 | description: "If set to true and the action runs on a pull request, the action outputs only newly found issues." 31 | default: 'false' 32 | required: false 33 | skip-cache: 34 | description: | 35 | If set to true, all caching functionality will be completely disabled. 36 | This takes precedence over all other caching options. 37 | default: 'false' 38 | required: false 39 | skip-save-cache: 40 | description: | 41 | If set to true, the action will not save any caches, but it may still 42 | restore existing caches, subject to other options. 43 | default: 'false' 44 | required: false 45 | problem-matchers: 46 | description: "Force the usage of the embedded problem matchers." 47 | default: 'false' 48 | required: false 49 | args: 50 | description: "golangci-lint command line arguments." 51 | default: "" 52 | required: false 53 | cache-invalidation-interval: 54 | description: "Periodically invalidate a cache when new code is added (number of days)." 55 | default: '7' 56 | required: false 57 | runs: 58 | using: "node20" 59 | main: "dist/run/index.js" 60 | post: "dist/post_run/index.js" 61 | branding: 62 | icon: "shield" 63 | color: "white" 64 | -------------------------------------------------------------------------------- /dist/matchers.json: -------------------------------------------------------------------------------- 1 | { 2 | "problemMatcher": [ 3 | { 4 | "owner": "go", 5 | "pattern": [ 6 | { 7 | "regexp": "^\\s*(\\.{0,2}[\\/\\\\].+\\.go):(?:(\\d+):(\\d+):)? (.*)", 8 | "file": 1, 9 | "line": 2, 10 | "column": 3, 11 | "message": 4 12 | } 13 | ] 14 | } 15 | ] 16 | } -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/golangci/golangci-lint-action 2 | 3 | go 1.23 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "golanci-lint-action", 3 | "version": "8.0.0", 4 | "private": true, 5 | "description": "golangci-lint github action", 6 | "main": "dist/main.js", 7 | "scripts": { 8 | "build": "tsc && ncc build -o dist/run/ src/main.ts && ncc build -o dist/post_run/ src/post_main.ts", 9 | "watched_build_main": "tsc && ncc build -w -o dist/run/ src/main.ts", 10 | "watched_build_post_main": "tsc && ncc build -w -o dist/post_run/ src/post_main.ts", 11 | "type-check": "tsc", 12 | "lint": "eslint --max-warnings 1 **/*.ts --cache", 13 | "lint-fix": "eslint **/*.ts --cache --fix", 14 | "format": "prettier --write **/*.ts", 15 | "format-check": "prettier --check **/*.ts", 16 | "all": "npm run build && npm run format-check && npm run lint", 17 | "local": "npm run build && act -j test -b", 18 | "local-full-version": "npm run build && act -j test-full-version -b" 19 | }, 20 | "repository": { 21 | "type": "git", 22 | "url": "git+https://github.com/golangci/golangci-lint-action.git" 23 | }, 24 | "author": "golangci", 25 | "license": "MIT", 26 | "dependencies": { 27 | "@actions/cache": "^4.0.3", 28 | "@actions/core": "^1.11.1", 29 | "@actions/exec": "^1.1.1", 30 | "@actions/github": "^6.0.1", 31 | "@actions/http-client": "^2.2.3", 32 | "@octokit/plugin-retry": "^6.1.0", 33 | "@actions/tool-cache": "^2.0.2", 34 | "@types/node": "^22.15.29", 35 | "@types/semver": "^7.7.0", 36 | "@types/tmp": "^0.2.6", 37 | "@types/which": "^3.0.4", 38 | "tmp": "^0.2.3", 39 | "which": "^5.0.0" 40 | }, 41 | "devDependencies": { 42 | "@typescript-eslint/eslint-plugin": "^8.33.0", 43 | "@typescript-eslint/parser": "^8.32.1", 44 | "@vercel/ncc": "^0.38.3", 45 | "eslint": "^8.57.1", 46 | "eslint-config-prettier": "^10.1.5", 47 | "eslint-plugin-import": "^2.31.0", 48 | "eslint-plugin-prettier": "^5.4.1", 49 | "eslint-plugin-simple-import-sort": "^12.1.1", 50 | "prettier": "^3.5.3", 51 | "typescript": "^5.8.3" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /problem-matchers.json: -------------------------------------------------------------------------------- 1 | { 2 | "problemMatcher": [ 3 | { 4 | "owner": "golangci-lint-colored-line-number", 5 | "severity": "error", 6 | "pattern": [ 7 | { 8 | "regexp": "^([^:]+):(\\d+):(?:(\\d+):)?\\s+(.+ \\(.+\\))$", 9 | "file": 1, 10 | "line": 2, 11 | "column": 3, 12 | "message": 4 13 | } 14 | ] 15 | } 16 | ] 17 | } -------------------------------------------------------------------------------- /sample-go-mod/.golangci.yml: -------------------------------------------------------------------------------- 1 | version: "2" 2 | 3 | output: 4 | show-stats: true 5 | sort-order: 6 | - file 7 | - linter 8 | -------------------------------------------------------------------------------- /sample-go-mod/go.mod: -------------------------------------------------------------------------------- 1 | module sample 2 | 3 | go 1.23.0 4 | 5 | require github.com/golangci/golangci-lint/v2 v2.1.5 6 | 7 | require ( 8 | 4d63.com/gocheckcompilerdirectives v1.3.0 // indirect 9 | 4d63.com/gochecknoglobals v0.2.2 // indirect 10 | github.com/4meepo/tagalign v1.4.2 // indirect 11 | github.com/Abirdcfly/dupword v0.1.3 // indirect 12 | github.com/Antonboom/errname v1.1.0 // indirect 13 | github.com/Antonboom/nilnil v1.1.0 // indirect 14 | github.com/Antonboom/testifylint v1.6.1 // indirect 15 | github.com/BurntSushi/toml v1.5.0 // indirect 16 | github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect 17 | github.com/GaijinEntertainment/go-exhaustruct/v3 v3.3.1 // indirect 18 | github.com/Masterminds/semver/v3 v3.3.1 // indirect 19 | github.com/OpenPeeDeeP/depguard/v2 v2.2.1 // indirect 20 | github.com/alecthomas/chroma/v2 v2.16.0 // indirect 21 | github.com/alecthomas/go-check-sumtype v0.3.1 // indirect 22 | github.com/alexkohler/nakedret/v2 v2.0.6 // indirect 23 | github.com/alexkohler/prealloc v1.0.0 // indirect 24 | github.com/alingse/asasalint v0.0.11 // indirect 25 | github.com/alingse/nilnesserr v0.2.0 // indirect 26 | github.com/ashanbrown/forbidigo v1.6.0 // indirect 27 | github.com/ashanbrown/makezero v1.2.0 // indirect 28 | github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect 29 | github.com/beorn7/perks v1.0.1 // indirect 30 | github.com/bkielbasa/cyclop v1.2.3 // indirect 31 | github.com/blizzy78/varnamelen v0.8.0 // indirect 32 | github.com/bombsimon/wsl/v4 v4.7.0 // indirect 33 | github.com/breml/bidichk v0.3.3 // indirect 34 | github.com/breml/errchkjson v0.4.1 // indirect 35 | github.com/butuzov/ireturn v0.4.0 // indirect 36 | github.com/butuzov/mirror v1.3.0 // indirect 37 | github.com/catenacyber/perfsprint v0.9.1 // indirect 38 | github.com/ccojocar/zxcvbn-go v1.0.2 // indirect 39 | github.com/cespare/xxhash/v2 v2.3.0 // indirect 40 | github.com/charithe/durationcheck v0.0.10 // indirect 41 | github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect 42 | github.com/charmbracelet/lipgloss v1.1.0 // indirect 43 | github.com/charmbracelet/x/ansi v0.8.0 // indirect 44 | github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd // indirect 45 | github.com/charmbracelet/x/term v0.2.1 // indirect 46 | github.com/chavacava/garif v0.1.0 // indirect 47 | github.com/ckaznocha/intrange v0.3.1 // indirect 48 | github.com/curioswitch/go-reassign v0.3.0 // indirect 49 | github.com/daixiang0/gci v0.13.6 // indirect 50 | github.com/dave/dst v0.27.3 // indirect 51 | github.com/davecgh/go-spew v1.1.1 // indirect 52 | github.com/denis-tingaikin/go-header v0.5.0 // indirect 53 | github.com/dlclark/regexp2 v1.11.5 // indirect 54 | github.com/ettle/strcase v0.2.0 // indirect 55 | github.com/fatih/color v1.18.0 // indirect 56 | github.com/fatih/structtag v1.2.0 // indirect 57 | github.com/firefart/nonamedreturns v1.0.6 // indirect 58 | github.com/fsnotify/fsnotify v1.5.4 // indirect 59 | github.com/fzipp/gocyclo v0.6.0 // indirect 60 | github.com/ghostiam/protogetter v0.3.15 // indirect 61 | github.com/go-critic/go-critic v0.13.0 // indirect 62 | github.com/go-toolsmith/astcast v1.1.0 // indirect 63 | github.com/go-toolsmith/astcopy v1.1.0 // indirect 64 | github.com/go-toolsmith/astequal v1.2.0 // indirect 65 | github.com/go-toolsmith/astfmt v1.1.0 // indirect 66 | github.com/go-toolsmith/astp v1.1.0 // indirect 67 | github.com/go-toolsmith/strparse v1.1.0 // indirect 68 | github.com/go-toolsmith/typep v1.1.0 // indirect 69 | github.com/go-viper/mapstructure/v2 v2.2.1 // indirect 70 | github.com/go-xmlfmt/xmlfmt v1.1.3 // indirect 71 | github.com/gobwas/glob v0.2.3 // indirect 72 | github.com/gofrs/flock v0.12.1 // indirect 73 | github.com/golang/protobuf v1.5.3 // indirect 74 | github.com/golangci/dupl v0.0.0-20250308024227-f665c8d69b32 // indirect 75 | github.com/golangci/go-printf-func-name v0.1.0 // indirect 76 | github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d // indirect 77 | github.com/golangci/golines v0.0.0-20250217134842-442fd0091d95 // indirect 78 | github.com/golangci/misspell v0.6.0 // indirect 79 | github.com/golangci/plugin-module-register v0.1.1 // indirect 80 | github.com/golangci/revgrep v0.8.0 // indirect 81 | github.com/golangci/unconvert v0.0.0-20250410112200-a129a6e6413e // indirect 82 | github.com/google/go-cmp v0.7.0 // indirect 83 | github.com/gordonklaus/ineffassign v0.1.0 // indirect 84 | github.com/gostaticanalysis/analysisutil v0.7.1 // indirect 85 | github.com/gostaticanalysis/comment v1.5.0 // indirect 86 | github.com/gostaticanalysis/forcetypeassert v0.2.0 // indirect 87 | github.com/gostaticanalysis/nilerr v0.1.1 // indirect 88 | github.com/hashicorp/go-immutable-radix/v2 v2.1.0 // indirect 89 | github.com/hashicorp/go-version v1.7.0 // indirect 90 | github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect 91 | github.com/hashicorp/hcl v1.0.0 // indirect 92 | github.com/hexops/gotextdiff v1.0.3 // indirect 93 | github.com/inconshreveable/mousetrap v1.1.0 // indirect 94 | github.com/jgautheron/goconst v1.8.1 // indirect 95 | github.com/jingyugao/rowserrcheck v1.1.1 // indirect 96 | github.com/jjti/go-spancheck v0.6.4 // indirect 97 | github.com/julz/importas v0.2.0 // indirect 98 | github.com/karamaru-alpha/copyloopvar v1.2.1 // indirect 99 | github.com/kisielk/errcheck v1.9.0 // indirect 100 | github.com/kkHAIKE/contextcheck v1.1.6 // indirect 101 | github.com/kulti/thelper v0.6.3 // indirect 102 | github.com/kunwardeep/paralleltest v1.0.14 // indirect 103 | github.com/lasiar/canonicalheader v1.1.2 // indirect 104 | github.com/ldez/exptostd v0.4.3 // indirect 105 | github.com/ldez/gomoddirectives v0.6.1 // indirect 106 | github.com/ldez/grignotin v0.9.0 // indirect 107 | github.com/ldez/tagliatelle v0.7.1 // indirect 108 | github.com/ldez/usetesting v0.4.3 // indirect 109 | github.com/leonklingele/grouper v1.1.2 // indirect 110 | github.com/lucasb-eyer/go-colorful v1.2.0 // indirect 111 | github.com/macabu/inamedparam v0.2.0 // indirect 112 | github.com/magiconair/properties v1.8.6 // indirect 113 | github.com/manuelarte/funcorder v0.2.1 // indirect 114 | github.com/maratori/testableexamples v1.0.0 // indirect 115 | github.com/maratori/testpackage v1.1.1 // indirect 116 | github.com/matoous/godox v1.1.0 // indirect 117 | github.com/mattn/go-colorable v0.1.14 // indirect 118 | github.com/mattn/go-isatty v0.0.20 // indirect 119 | github.com/mattn/go-runewidth v0.0.16 // indirect 120 | github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect 121 | github.com/mgechev/revive v1.9.0 // indirect 122 | github.com/mitchellh/go-homedir v1.1.0 // indirect 123 | github.com/mitchellh/mapstructure v1.5.0 // indirect 124 | github.com/moricho/tparallel v0.3.2 // indirect 125 | github.com/muesli/termenv v0.16.0 // indirect 126 | github.com/nakabonne/nestif v0.3.1 // indirect 127 | github.com/nishanths/exhaustive v0.12.0 // indirect 128 | github.com/nishanths/predeclared v0.2.2 // indirect 129 | github.com/nunnatsa/ginkgolinter v0.19.1 // indirect 130 | github.com/olekukonko/tablewriter v0.0.5 // indirect 131 | github.com/pelletier/go-toml v1.9.5 // indirect 132 | github.com/pelletier/go-toml/v2 v2.2.4 // indirect 133 | github.com/pmezard/go-difflib v1.0.0 // indirect 134 | github.com/polyfloyd/go-errorlint v1.8.0 // indirect 135 | github.com/prometheus/client_golang v1.12.1 // indirect 136 | github.com/prometheus/client_model v0.2.0 // indirect 137 | github.com/prometheus/common v0.32.1 // indirect 138 | github.com/prometheus/procfs v0.7.3 // indirect 139 | github.com/quasilyte/go-ruleguard v0.4.4 // indirect 140 | github.com/quasilyte/go-ruleguard/dsl v0.3.22 // indirect 141 | github.com/quasilyte/gogrep v0.5.0 // indirect 142 | github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 // indirect 143 | github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect 144 | github.com/raeperd/recvcheck v0.2.0 // indirect 145 | github.com/rivo/uniseg v0.4.7 // indirect 146 | github.com/rogpeppe/go-internal v1.14.1 // indirect 147 | github.com/ryancurrah/gomodguard v1.4.1 // indirect 148 | github.com/ryanrolds/sqlclosecheck v0.5.1 // indirect 149 | github.com/sanposhiho/wastedassign/v2 v2.1.0 // indirect 150 | github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 // indirect 151 | github.com/sashamelentyev/interfacebloat v1.1.0 // indirect 152 | github.com/sashamelentyev/usestdlibvars v1.28.0 // indirect 153 | github.com/securego/gosec/v2 v2.22.3 // indirect 154 | github.com/sirupsen/logrus v1.9.3 // indirect 155 | github.com/sivchari/containedctx v1.0.3 // indirect 156 | github.com/sonatard/noctx v0.1.0 // indirect 157 | github.com/sourcegraph/go-diff v0.7.0 // indirect 158 | github.com/spf13/afero v1.14.0 // indirect 159 | github.com/spf13/cast v1.5.0 // indirect 160 | github.com/spf13/cobra v1.9.1 // indirect 161 | github.com/spf13/jwalterweatherman v1.1.0 // indirect 162 | github.com/spf13/pflag v1.0.6 // indirect 163 | github.com/spf13/viper v1.12.0 // indirect 164 | github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect 165 | github.com/stbenjam/no-sprintf-host-port v0.2.0 // indirect 166 | github.com/stretchr/objx v0.5.2 // indirect 167 | github.com/stretchr/testify v1.10.0 // indirect 168 | github.com/subosito/gotenv v1.4.1 // indirect 169 | github.com/tdakkota/asciicheck v0.4.1 // indirect 170 | github.com/tetafro/godot v1.5.0 // indirect 171 | github.com/timakin/bodyclose v0.0.0-20241222091800-1db5c5ca4d67 // indirect 172 | github.com/timonwong/loggercheck v0.11.0 // indirect 173 | github.com/tomarrell/wrapcheck/v2 v2.11.0 // indirect 174 | github.com/tommy-muehle/go-mnd/v2 v2.5.1 // indirect 175 | github.com/ultraware/funlen v0.2.0 // indirect 176 | github.com/ultraware/whitespace v0.2.0 // indirect 177 | github.com/uudashr/gocognit v1.2.0 // indirect 178 | github.com/uudashr/iface v1.3.1 // indirect 179 | github.com/xen0n/gosmopolitan v1.3.0 // indirect 180 | github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect 181 | github.com/yagipy/maintidx v1.0.0 // indirect 182 | github.com/yeya24/promlinter v0.3.0 // indirect 183 | github.com/ykadowak/zerologlint v0.1.5 // indirect 184 | gitlab.com/bosi/decorder v0.4.2 // indirect 185 | go-simpler.org/musttag v0.13.0 // indirect 186 | go-simpler.org/sloglint v0.11.0 // indirect 187 | go.augendre.info/fatcontext v0.8.0 // indirect 188 | go.uber.org/atomic v1.7.0 // indirect 189 | go.uber.org/automaxprocs v1.6.0 // indirect 190 | go.uber.org/multierr v1.6.0 // indirect 191 | go.uber.org/zap v1.24.0 // indirect 192 | golang.org/x/exp/typeparams v0.0.0-20250210185358-939b2ce775ac // indirect 193 | golang.org/x/mod v0.24.0 // indirect 194 | golang.org/x/sync v0.13.0 // indirect 195 | golang.org/x/sys v0.32.0 // indirect 196 | golang.org/x/text v0.24.0 // indirect 197 | golang.org/x/tools v0.32.0 // indirect 198 | google.golang.org/protobuf v1.36.6 // indirect 199 | gopkg.in/ini.v1 v1.67.0 // indirect 200 | gopkg.in/yaml.v2 v2.4.0 // indirect 201 | gopkg.in/yaml.v3 v3.0.1 // indirect 202 | honnef.co/go/tools v0.6.1 // indirect 203 | mvdan.cc/gofumpt v0.8.0 // indirect 204 | mvdan.cc/unparam v0.0.0-20250301125049-0df0534333a4 // indirect 205 | ) 206 | -------------------------------------------------------------------------------- /sample-go-mod/go.sum: -------------------------------------------------------------------------------- 1 | 4d63.com/gocheckcompilerdirectives v1.3.0 h1:Ew5y5CtcAAQeTVKUVFrE7EwHMrTO6BggtEj8BZSjZ3A= 2 | 4d63.com/gocheckcompilerdirectives v1.3.0/go.mod h1:ofsJ4zx2QAuIP/NO/NAh1ig6R1Fb18/GI7RVMwz7kAY= 3 | 4d63.com/gochecknoglobals v0.2.2 h1:H1vdnwnMaZdQW/N+NrkT1SZMTBmcwHe9Vq8lJcYYTtU= 4 | 4d63.com/gochecknoglobals v0.2.2/go.mod h1:lLxwTQjL5eIesRbvnzIP3jZtG140FnTdz+AlMa+ogt0= 5 | cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= 6 | cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= 7 | cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= 8 | cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= 9 | cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= 10 | cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= 11 | cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= 12 | cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= 13 | cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= 14 | cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= 15 | cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= 16 | cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= 17 | cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= 18 | cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= 19 | cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= 20 | cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= 21 | cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= 22 | cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= 23 | cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= 24 | cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= 25 | cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= 26 | cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= 27 | cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= 28 | cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= 29 | cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= 30 | cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= 31 | cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= 32 | cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= 33 | cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= 34 | cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= 35 | cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= 36 | cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= 37 | dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= 38 | github.com/4meepo/tagalign v1.4.2 h1:0hcLHPGMjDyM1gHG58cS73aQF8J4TdVR96TZViorO9E= 39 | github.com/4meepo/tagalign v1.4.2/go.mod h1:+p4aMyFM+ra7nb41CnFG6aSDXqRxU/w1VQqScKqDARI= 40 | github.com/Abirdcfly/dupword v0.1.3 h1:9Pa1NuAsZvpFPi9Pqkd93I7LIYRURj+A//dFd5tgBeE= 41 | github.com/Abirdcfly/dupword v0.1.3/go.mod h1:8VbB2t7e10KRNdwTVoxdBaxla6avbhGzb8sCTygUMhw= 42 | github.com/Antonboom/errname v1.1.0 h1:A+ucvdpMwlo/myWrkHEUEBWc/xuXdud23S8tmTb/oAE= 43 | github.com/Antonboom/errname v1.1.0/go.mod h1:O1NMrzgUcVBGIfi3xlVuvX8Q/VP/73sseCaAppfjqZw= 44 | github.com/Antonboom/nilnil v1.1.0 h1:jGxJxjgYS3VUUtOTNk8Z1icwT5ESpLH/426fjmQG+ng= 45 | github.com/Antonboom/nilnil v1.1.0/go.mod h1:b7sAlogQjFa1wV8jUW3o4PMzDVFLbTux+xnQdvzdcIE= 46 | github.com/Antonboom/testifylint v1.6.1 h1:6ZSytkFWatT8mwZlmRCHkWz1gPi+q6UBSbieji2Gj/o= 47 | github.com/Antonboom/testifylint v1.6.1/go.mod h1:k+nEkathI2NFjKO6HvwmSrbzUcQ6FAnbZV+ZRrnXPLI= 48 | github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= 49 | github.com/BurntSushi/toml v1.5.0 h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg= 50 | github.com/BurntSushi/toml v1.5.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= 51 | github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= 52 | github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 h1:sHglBQTwgx+rWPdisA5ynNEsoARbiCBOyGcJM4/OzsM= 53 | github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= 54 | github.com/GaijinEntertainment/go-exhaustruct/v3 v3.3.1 h1:Sz1JIXEcSfhz7fUi7xHnhpIE0thVASYjvosApmHuD2k= 55 | github.com/GaijinEntertainment/go-exhaustruct/v3 v3.3.1/go.mod h1:n/LSCXNuIYqVfBlVXyHfMQkZDdp1/mmxfSjADd3z1Zg= 56 | github.com/Masterminds/semver/v3 v3.3.1 h1:QtNSWtVZ3nBfk8mAOu/B6v7FMJ+NHTIgUPi7rj+4nv4= 57 | github.com/Masterminds/semver/v3 v3.3.1/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= 58 | github.com/OpenPeeDeeP/depguard/v2 v2.2.1 h1:vckeWVESWp6Qog7UZSARNqfu/cZqvki8zsuj3piCMx4= 59 | github.com/OpenPeeDeeP/depguard/v2 v2.2.1/go.mod h1:q4DKzC4UcVaAvcfd41CZh0PWpGgzrVxUYBlgKNGquUo= 60 | github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0= 61 | github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k= 62 | github.com/alecthomas/chroma/v2 v2.16.0 h1:QC5ZMizk67+HzxFDjQ4ASjni5kWBTGiigRG1u23IGvA= 63 | github.com/alecthomas/chroma/v2 v2.16.0/go.mod h1:RVX6AvYm4VfYe/zsk7mjHueLDZor3aWCNE14TFlepBk= 64 | github.com/alecthomas/go-check-sumtype v0.3.1 h1:u9aUvbGINJxLVXiFvHUlPEaD7VDULsrxJb4Aq31NLkU= 65 | github.com/alecthomas/go-check-sumtype v0.3.1/go.mod h1:A8TSiN3UPRw3laIgWEUOHHLPa6/r9MtoigdlP5h3K/E= 66 | github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc= 67 | github.com/alecthomas/repr v0.4.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4= 68 | github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= 69 | github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= 70 | github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= 71 | github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= 72 | github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= 73 | github.com/alexkohler/nakedret/v2 v2.0.6 h1:ME3Qef1/KIKr3kWX3nti3hhgNxw6aqN5pZmQiFSsuzQ= 74 | github.com/alexkohler/nakedret/v2 v2.0.6/go.mod h1:l3RKju/IzOMQHmsEvXwkqMDzHHvurNQfAgE1eVmT40Q= 75 | github.com/alexkohler/prealloc v1.0.0 h1:Hbq0/3fJPQhNkN0dR95AVrr6R7tou91y0uHG5pOcUuw= 76 | github.com/alexkohler/prealloc v1.0.0/go.mod h1:VetnK3dIgFBBKmg0YnD9F9x6Icjd+9cvfHR56wJVlKE= 77 | github.com/alingse/asasalint v0.0.11 h1:SFwnQXJ49Kx/1GghOFz1XGqHYKp21Kq1nHad/0WQRnw= 78 | github.com/alingse/asasalint v0.0.11/go.mod h1:nCaoMhw7a9kSJObvQyVzNTPBDbNpdocqrSP7t/cW5+I= 79 | github.com/alingse/nilnesserr v0.2.0 h1:raLem5KG7EFVb4UIDAXgrv3N2JIaffeKNtcEXkEWd/w= 80 | github.com/alingse/nilnesserr v0.2.0/go.mod h1:1xJPrXonEtX7wyTq8Dytns5P2hNzoWymVUIaKm4HNFg= 81 | github.com/ashanbrown/forbidigo v1.6.0 h1:D3aewfM37Yb3pxHujIPSpTf6oQk9sc9WZi8gerOIVIY= 82 | github.com/ashanbrown/forbidigo v1.6.0/go.mod h1:Y8j9jy9ZYAEHXdu723cUlraTqbzjKF1MUyfOKL+AjcU= 83 | github.com/ashanbrown/makezero v1.2.0 h1:/2Lp1bypdmK9wDIq7uWBlDF1iMUpIIS4A+pF6C9IEUU= 84 | github.com/ashanbrown/makezero v1.2.0/go.mod h1:dxlPhHbDMC6N6xICzFBSK+4njQDdK8euNO0qjQMtGY4= 85 | github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= 86 | github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= 87 | github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= 88 | github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= 89 | github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= 90 | github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= 91 | github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= 92 | github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= 93 | github.com/bkielbasa/cyclop v1.2.3 h1:faIVMIGDIANuGPWH031CZJTi2ymOQBULs9H21HSMa5w= 94 | github.com/bkielbasa/cyclop v1.2.3/go.mod h1:kHTwA9Q0uZqOADdupvcFJQtp/ksSnytRMe8ztxG8Fuo= 95 | github.com/blizzy78/varnamelen v0.8.0 h1:oqSblyuQvFsW1hbBHh1zfwrKe3kcSj0rnXkKzsQ089M= 96 | github.com/blizzy78/varnamelen v0.8.0/go.mod h1:V9TzQZ4fLJ1DSrjVDfl89H7aMnTvKkApdHeyESmyR7k= 97 | github.com/bombsimon/wsl/v4 v4.7.0 h1:1Ilm9JBPRczjyUs6hvOPKvd7VL1Q++PL8M0SXBDf+jQ= 98 | github.com/bombsimon/wsl/v4 v4.7.0/go.mod h1:uV/+6BkffuzSAVYD+yGyld1AChO7/EuLrCF/8xTiapg= 99 | github.com/breml/bidichk v0.3.3 h1:WSM67ztRusf1sMoqH6/c4OBCUlRVTKq+CbSeo0R17sE= 100 | github.com/breml/bidichk v0.3.3/go.mod h1:ISbsut8OnjB367j5NseXEGGgO/th206dVa427kR8YTE= 101 | github.com/breml/errchkjson v0.4.1 h1:keFSS8D7A2T0haP9kzZTi7o26r7kE3vymjZNeNDRDwg= 102 | github.com/breml/errchkjson v0.4.1/go.mod h1:a23OvR6Qvcl7DG/Z4o0el6BRAjKnaReoPQFciAl9U3s= 103 | github.com/butuzov/ireturn v0.4.0 h1:+s76bF/PfeKEdbG8b54aCocxXmi0wvYdOVsWxVO7n8E= 104 | github.com/butuzov/ireturn v0.4.0/go.mod h1:ghI0FrCmap8pDWZwfPisFD1vEc56VKH4NpQUxDHta70= 105 | github.com/butuzov/mirror v1.3.0 h1:HdWCXzmwlQHdVhwvsfBb2Au0r3HyINry3bDWLYXiKoc= 106 | github.com/butuzov/mirror v1.3.0/go.mod h1:AEij0Z8YMALaq4yQj9CPPVYOyJQyiexpQEQgihajRfI= 107 | github.com/catenacyber/perfsprint v0.9.1 h1:5LlTp4RwTooQjJCvGEFV6XksZvWE7wCOUvjD2z0vls0= 108 | github.com/catenacyber/perfsprint v0.9.1/go.mod h1:q//VWC2fWbcdSLEY1R3l8n0zQCDPdE4IjZwyY1HMunM= 109 | github.com/ccojocar/zxcvbn-go v1.0.2 h1:na/czXU8RrhXO4EZme6eQJLR4PzcGsahsBOAwU6I3Vg= 110 | github.com/ccojocar/zxcvbn-go v1.0.2/go.mod h1:g1qkXtUSvHP8lhHp5GrSmTz6uWALGRMQdw6Qnz/hi60= 111 | github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= 112 | github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= 113 | github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= 114 | github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= 115 | github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= 116 | github.com/charithe/durationcheck v0.0.10 h1:wgw73BiocdBDQPik+zcEoBG/ob8uyBHf2iyoHGPf5w4= 117 | github.com/charithe/durationcheck v0.0.10/go.mod h1:bCWXb7gYRysD1CU3C+u4ceO49LoGOY1C1L6uouGNreQ= 118 | github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc h1:4pZI35227imm7yK2bGPcfpFEmuY1gc2YSTShr4iJBfs= 119 | github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc/go.mod h1:X4/0JoqgTIPSFcRA/P6INZzIuyqdFY5rm8tb41s9okk= 120 | github.com/charmbracelet/lipgloss v1.1.0 h1:vYXsiLHVkK7fp74RkV7b2kq9+zDLoEU4MZoFqR/noCY= 121 | github.com/charmbracelet/lipgloss v1.1.0/go.mod h1:/6Q8FR2o+kj8rz4Dq0zQc3vYf7X+B0binUUBwA0aL30= 122 | github.com/charmbracelet/x/ansi v0.8.0 h1:9GTq3xq9caJW8ZrBTe0LIe2fvfLR/bYXKTx2llXn7xE= 123 | github.com/charmbracelet/x/ansi v0.8.0/go.mod h1:wdYl/ONOLHLIVmQaxbIYEC/cRKOQyjTkowiI4blgS9Q= 124 | github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd h1:vy0GVL4jeHEwG5YOXDmi86oYw2yuYUGqz6a8sLwg0X8= 125 | github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd/go.mod h1:xe0nKWGd3eJgtqZRaN9RjMtK7xUYchjzPr7q6kcvCCs= 126 | github.com/charmbracelet/x/term v0.2.1 h1:AQeHeLZ1OqSXhrAWpYUtZyX1T3zVxfpZuEQMIQaGIAQ= 127 | github.com/charmbracelet/x/term v0.2.1/go.mod h1:oQ4enTYFV7QN4m0i9mzHrViD7TQKvNEEkHUMCmsxdUg= 128 | github.com/chavacava/garif v0.1.0 h1:2JHa3hbYf5D9dsgseMKAmc/MZ109otzgNFk5s87H9Pc= 129 | github.com/chavacava/garif v0.1.0/go.mod h1:XMyYCkEL58DF0oyW4qDjjnPWONs2HBqYKI+UIPD+Gww= 130 | github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= 131 | github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= 132 | github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= 133 | github.com/ckaznocha/intrange v0.3.1 h1:j1onQyXvHUsPWujDH6WIjhyH26gkRt/txNlV7LspvJs= 134 | github.com/ckaznocha/intrange v0.3.1/go.mod h1:QVepyz1AkUoFQkpEqksSYpNpUo3c5W7nWh/s6SHIJJk= 135 | github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= 136 | github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= 137 | github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= 138 | github.com/curioswitch/go-reassign v0.3.0 h1:dh3kpQHuADL3cobV/sSGETA8DOv457dwl+fbBAhrQPs= 139 | github.com/curioswitch/go-reassign v0.3.0/go.mod h1:nApPCCTtqLJN/s8HfItCcKV0jIPwluBOvZP+dsJGA88= 140 | github.com/daixiang0/gci v0.13.6 h1:RKuEOSkGpSadkGbvZ6hJ4ddItT3cVZ9Vn9Rybk6xjl8= 141 | github.com/daixiang0/gci v0.13.6/go.mod h1:12etP2OniiIdP4q+kjUGrC/rUagga7ODbqsom5Eo5Yk= 142 | github.com/dave/dst v0.27.3 h1:P1HPoMza3cMEquVf9kKy8yXsFirry4zEnWOdYPOoIzY= 143 | github.com/dave/dst v0.27.3/go.mod h1:jHh6EOibnHgcUW3WjKHisiooEkYwqpHLBSX1iOBhEyc= 144 | github.com/dave/jennifer v1.7.1 h1:B4jJJDHelWcDhlRQxWeo0Npa/pYKBLrirAQoTN45txo= 145 | github.com/dave/jennifer v1.7.1/go.mod h1:nXbxhEmQfOZhWml3D1cDK5M1FLnMSozpbFN/m3RmGZc= 146 | github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 147 | github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= 148 | github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 149 | github.com/denis-tingaikin/go-header v0.5.0 h1:SRdnP5ZKvcO9KKRP1KJrhFR3RrlGuD+42t4429eC9k8= 150 | github.com/denis-tingaikin/go-header v0.5.0/go.mod h1:mMenU5bWrok6Wl2UsZjy+1okegmwQ3UgWl4V1D8gjlY= 151 | github.com/dlclark/regexp2 v1.11.5 h1:Q/sSnsKerHeCkc/jSTNq1oCm7KiVgUMZRDUoRu0JQZQ= 152 | github.com/dlclark/regexp2 v1.11.5/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8= 153 | github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= 154 | github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= 155 | github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= 156 | github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= 157 | github.com/ettle/strcase v0.2.0 h1:fGNiVF21fHXpX1niBgk0aROov1LagYsOwV/xqKDKR/Q= 158 | github.com/ettle/strcase v0.2.0/go.mod h1:DajmHElDSaX76ITe3/VHVyMin4LWSJN5Z909Wp+ED1A= 159 | github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM= 160 | github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU= 161 | github.com/fatih/structtag v1.2.0 h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4= 162 | github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94= 163 | github.com/firefart/nonamedreturns v1.0.6 h1:vmiBcKV/3EqKY3ZiPxCINmpS431OcE1S47AQUwhrg8E= 164 | github.com/firefart/nonamedreturns v1.0.6/go.mod h1:R8NisJnSIpvPWheCq0mNRXJok6D8h7fagJTF8EMEwCo= 165 | github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= 166 | github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps= 167 | github.com/fsnotify/fsnotify v1.5.4 h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI= 168 | github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= 169 | github.com/fzipp/gocyclo v0.6.0 h1:lsblElZG7d3ALtGMx9fmxeTKZaLLpU8mET09yN4BBLo= 170 | github.com/fzipp/gocyclo v0.6.0/go.mod h1:rXPyn8fnlpa0R2csP/31uerbiVBugk5whMdlyaLkLoA= 171 | github.com/ghostiam/protogetter v0.3.15 h1:1KF5sXel0HE48zh1/vn0Loiw25A9ApyseLzQuif1mLY= 172 | github.com/ghostiam/protogetter v0.3.15/go.mod h1:WZ0nw9pfzsgxuRsPOFQomgDVSWtDLJRfQJEhsGbmQMA= 173 | github.com/go-critic/go-critic v0.13.0 h1:kJzM7wzltQasSUXtYyTl6UaPVySO6GkaR1thFnJ6afY= 174 | github.com/go-critic/go-critic v0.13.0/go.mod h1:M/YeuJ3vOCQDnP2SU+ZhjgRzwzcBW87JqLpMJLrZDLI= 175 | github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= 176 | github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= 177 | github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= 178 | github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= 179 | github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= 180 | github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= 181 | github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= 182 | github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= 183 | github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= 184 | github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY= 185 | github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= 186 | github.com/go-quicktest/qt v1.101.0 h1:O1K29Txy5P2OK0dGo59b7b0LR6wKfIhttaAhHUyn7eI= 187 | github.com/go-quicktest/qt v1.101.0/go.mod h1:14Bz/f7NwaXPtdYEgzsx46kqSxVwTbzVZsDC26tQJow= 188 | github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= 189 | github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI= 190 | github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8= 191 | github.com/go-toolsmith/astcast v1.1.0 h1:+JN9xZV1A+Re+95pgnMgDboWNVnIMMQXwfBwLRPgSC8= 192 | github.com/go-toolsmith/astcast v1.1.0/go.mod h1:qdcuFWeGGS2xX5bLM/c3U9lewg7+Zu4mr+xPwZIB4ZU= 193 | github.com/go-toolsmith/astcopy v1.1.0 h1:YGwBN0WM+ekI/6SS6+52zLDEf8Yvp3n2seZITCUBt5s= 194 | github.com/go-toolsmith/astcopy v1.1.0/go.mod h1:hXM6gan18VA1T/daUEHCFcYiW8Ai1tIwIzHY6srfEAw= 195 | github.com/go-toolsmith/astequal v1.0.3/go.mod h1:9Ai4UglvtR+4up+bAD4+hCj7iTo4m/OXVTSLnCyTAx4= 196 | github.com/go-toolsmith/astequal v1.1.0/go.mod h1:sedf7VIdCL22LD8qIvv7Nn9MuWJruQA/ysswh64lffQ= 197 | github.com/go-toolsmith/astequal v1.2.0 h1:3Fs3CYZ1k9Vo4FzFhwwewC3CHISHDnVUPC4x0bI2+Cw= 198 | github.com/go-toolsmith/astequal v1.2.0/go.mod h1:c8NZ3+kSFtFY/8lPso4v8LuJjdJiUFVnSuU3s0qrrDY= 199 | github.com/go-toolsmith/astfmt v1.1.0 h1:iJVPDPp6/7AaeLJEruMsBUlOYCmvg0MoCfJprsOmcco= 200 | github.com/go-toolsmith/astfmt v1.1.0/go.mod h1:OrcLlRwu0CuiIBp/8b5PYF9ktGVZUjlNMV634mhwuQ4= 201 | github.com/go-toolsmith/astp v1.1.0 h1:dXPuCl6u2llURjdPLLDxJeZInAeZ0/eZwFJmqZMnpQA= 202 | github.com/go-toolsmith/astp v1.1.0/go.mod h1:0T1xFGz9hicKs8Z5MfAqSUitoUYS30pDMsRVIDHs8CA= 203 | github.com/go-toolsmith/pkgload v1.2.2 h1:0CtmHq/02QhxcF7E9N5LIFcYFsMR5rdovfqTtRKkgIk= 204 | github.com/go-toolsmith/pkgload v1.2.2/go.mod h1:R2hxLNRKuAsiXCo2i5J6ZQPhnPMOVtU+f0arbFPWCus= 205 | github.com/go-toolsmith/strparse v1.0.0/go.mod h1:YI2nUKP9YGZnL/L1/DLFBfixrcjslWct4wyljWhSRy8= 206 | github.com/go-toolsmith/strparse v1.1.0 h1:GAioeZUK9TGxnLS+qfdqNbA4z0SSm5zVNtCQiyP2Bvw= 207 | github.com/go-toolsmith/strparse v1.1.0/go.mod h1:7ksGy58fsaQkGQlY8WVoBFNyEPMGuJin1rfoPS4lBSQ= 208 | github.com/go-toolsmith/typep v1.1.0 h1:fIRYDyF+JywLfqzyhdiHzRop/GQDxxNhLGQ6gFUNHus= 209 | github.com/go-toolsmith/typep v1.1.0/go.mod h1:fVIw+7zjdsMxDA3ITWnH1yOiw1rnTQKCsF/sk2H/qig= 210 | github.com/go-viper/mapstructure/v2 v2.2.1 h1:ZAaOCxANMuZx5RCeg0mBdEZk7DZasvvZIxtHqx8aGss= 211 | github.com/go-viper/mapstructure/v2 v2.2.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= 212 | github.com/go-xmlfmt/xmlfmt v1.1.3 h1:t8Ey3Uy7jDSEisW2K3somuMKIpzktkWptA0iFCnRUWY= 213 | github.com/go-xmlfmt/xmlfmt v1.1.3/go.mod h1:aUCEOzzezBEjDBbFBoSiya/gduyIiWYRP6CnSFIV8AM= 214 | github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= 215 | github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= 216 | github.com/gofrs/flock v0.12.1 h1:MTLVXXHf8ekldpJk3AKicLij9MdwOWkZ+a/jHHZby9E= 217 | github.com/gofrs/flock v0.12.1/go.mod h1:9zxTsyu5xtJ9DK+1tFZyibEV7y3uwDxPPfbxeeHCoD0= 218 | github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= 219 | github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= 220 | github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 221 | github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 222 | github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 223 | github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= 224 | github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= 225 | github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= 226 | github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= 227 | github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= 228 | github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= 229 | github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= 230 | github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= 231 | github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= 232 | github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= 233 | github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= 234 | github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= 235 | github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= 236 | github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= 237 | github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= 238 | github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= 239 | github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= 240 | github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= 241 | github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= 242 | github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= 243 | github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= 244 | github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= 245 | github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= 246 | github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= 247 | github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= 248 | github.com/golangci/dupl v0.0.0-20250308024227-f665c8d69b32 h1:WUvBfQL6EW/40l6OmeSBYQJNSif4O11+bmWEz+C7FYw= 249 | github.com/golangci/dupl v0.0.0-20250308024227-f665c8d69b32/go.mod h1:NUw9Zr2Sy7+HxzdjIULge71wI6yEg1lWQr7Evcu8K0E= 250 | github.com/golangci/go-printf-func-name v0.1.0 h1:dVokQP+NMTO7jwO4bwsRwLWeudOVUPPyAKJuzv8pEJU= 251 | github.com/golangci/go-printf-func-name v0.1.0/go.mod h1:wqhWFH5mUdJQhweRnldEywnR5021wTdZSNgwYceV14s= 252 | github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d h1:viFft9sS/dxoYY0aiOTsLKO2aZQAPT4nlQCsimGcSGE= 253 | github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d/go.mod h1:ivJ9QDg0XucIkmwhzCDsqcnxxlDStoTl89jDMIoNxKY= 254 | github.com/golangci/golangci-lint/v2 v2.1.5 h1:zDcxV8s7kgQW3cpQiVA633CZJnKN/0iEXibPDWO8sZo= 255 | github.com/golangci/golangci-lint/v2 v2.1.5/go.mod h1:RGcjZLyl9fSVLqxdKMrknPlspC3TYETLoKXyRG06RDo= 256 | github.com/golangci/golines v0.0.0-20250217134842-442fd0091d95 h1:AkK+w9FZBXlU/xUmBtSJN1+tAI4FIvy5WtnUnY8e4p8= 257 | github.com/golangci/golines v0.0.0-20250217134842-442fd0091d95/go.mod h1:k9mmcyWKSTMcPPvQUCfRWWQ9VHJ1U9Dc0R7kaXAgtnQ= 258 | github.com/golangci/misspell v0.6.0 h1:JCle2HUTNWirNlDIAUO44hUsKhOFqGPoC4LZxlaSXDs= 259 | github.com/golangci/misspell v0.6.0/go.mod h1:keMNyY6R9isGaSAu+4Q8NMBwMPkh15Gtc8UCVoDtAWo= 260 | github.com/golangci/plugin-module-register v0.1.1 h1:TCmesur25LnyJkpsVrupv1Cdzo+2f7zX0H6Jkw1Ol6c= 261 | github.com/golangci/plugin-module-register v0.1.1/go.mod h1:TTpqoB6KkwOJMV8u7+NyXMrkwwESJLOkfl9TxR1DGFc= 262 | github.com/golangci/revgrep v0.8.0 h1:EZBctwbVd0aMeRnNUsFogoyayvKHyxlV3CdUA46FX2s= 263 | github.com/golangci/revgrep v0.8.0/go.mod h1:U4R/s9dlXZsg8uJmaR1GrloUr14D7qDl8gi2iPXJH8k= 264 | github.com/golangci/unconvert v0.0.0-20250410112200-a129a6e6413e h1:gD6P7NEo7Eqtt0ssnqSJNNndxe69DOQ24A5h7+i3KpM= 265 | github.com/golangci/unconvert v0.0.0-20250410112200-a129a6e6413e/go.mod h1:h+wZwLjUTJnm/P2rwlbJdRPZXOzaT36/FwnPnY2inzc= 266 | github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= 267 | github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= 268 | github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= 269 | github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= 270 | github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= 271 | github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 272 | github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 273 | github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 274 | github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 275 | github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 276 | github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 277 | github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 278 | github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 279 | github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= 280 | github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= 281 | github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= 282 | github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= 283 | github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= 284 | github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= 285 | github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= 286 | github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= 287 | github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 288 | github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 289 | github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 290 | github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 291 | github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 292 | github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad h1:a6HEuzUHeKH6hwfN/ZoQgRgVIWFJljSWa/zetS2WTvg= 293 | github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= 294 | github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= 295 | github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= 296 | github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= 297 | github.com/gordonklaus/ineffassign v0.1.0 h1:y2Gd/9I7MdY1oEIt+n+rowjBNDcLQq3RsH5hwJd0f9s= 298 | github.com/gordonklaus/ineffassign v0.1.0/go.mod h1:Qcp2HIAYhR7mNUVSIxZww3Guk4it82ghYcEXIAk+QT0= 299 | github.com/gostaticanalysis/analysisutil v0.7.1 h1:ZMCjoue3DtDWQ5WyU16YbjbQEQ3VuzwxALrpYd+HeKk= 300 | github.com/gostaticanalysis/analysisutil v0.7.1/go.mod h1:v21E3hY37WKMGSnbsw2S/ojApNWb6C1//mXO48CXbVc= 301 | github.com/gostaticanalysis/comment v1.4.1/go.mod h1:ih6ZxzTHLdadaiSnF5WY3dxUoXfXAlTaRzuaNDlSado= 302 | github.com/gostaticanalysis/comment v1.4.2/go.mod h1:KLUTGDv6HOCotCH8h2erHKmpci2ZoR8VPu34YA2uzdM= 303 | github.com/gostaticanalysis/comment v1.5.0 h1:X82FLl+TswsUMpMh17srGRuKaaXprTaytmEpgnKIDu8= 304 | github.com/gostaticanalysis/comment v1.5.0/go.mod h1:V6eb3gpCv9GNVqb6amXzEUX3jXLVK/AdA+IrAMSqvEc= 305 | github.com/gostaticanalysis/forcetypeassert v0.2.0 h1:uSnWrrUEYDr86OCxWa4/Tp2jeYDlogZiZHzGkWFefTk= 306 | github.com/gostaticanalysis/forcetypeassert v0.2.0/go.mod h1:M5iPavzE9pPqWyeiVXSFghQjljW1+l/Uke3PXHS6ILY= 307 | github.com/gostaticanalysis/nilerr v0.1.1 h1:ThE+hJP0fEp4zWLkWHWcRyI2Od0p7DlgYG3Uqrmrcpk= 308 | github.com/gostaticanalysis/nilerr v0.1.1/go.mod h1:wZYb6YI5YAxxq0i1+VJbY0s2YONW0HU0GPE3+5PWN4A= 309 | github.com/gostaticanalysis/testutil v0.3.1-0.20210208050101-bfb5c8eec0e4/go.mod h1:D+FIZ+7OahH3ePw/izIEeH5I06eKs1IKI4Xr64/Am3M= 310 | github.com/gostaticanalysis/testutil v0.5.0 h1:Dq4wT1DdTwTGCQQv3rl3IvD5Ld0E6HiY+3Zh0sUGqw8= 311 | github.com/gostaticanalysis/testutil v0.5.0/go.mod h1:OLQSbuM6zw2EvCcXTz1lVq5unyoNft372msDY0nY5Hs= 312 | github.com/hashicorp/go-immutable-radix/v2 v2.1.0 h1:CUW5RYIcysz+D3B+l1mDeXrQ7fUvGGCwJfdASSzbrfo= 313 | github.com/hashicorp/go-immutable-radix/v2 v2.1.0/go.mod h1:hgdqLXA4f6NIjRVisM1TJ9aOJVNRqKZj+xDGF6m7PBw= 314 | github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8= 315 | github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= 316 | github.com/hashicorp/go-version v1.2.1/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= 317 | github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY= 318 | github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= 319 | github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= 320 | github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= 321 | github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= 322 | github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= 323 | github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= 324 | github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= 325 | github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= 326 | github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= 327 | github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= 328 | github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= 329 | github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= 330 | github.com/jgautheron/goconst v1.8.1 h1:PPqCYp3K/xlOj5JmIe6O1Mj6r1DbkdbLtR3AJuZo414= 331 | github.com/jgautheron/goconst v1.8.1/go.mod h1:A0oxgBCHy55NQn6sYpO7UdnA9p+h7cPtoOZUmvNIako= 332 | github.com/jingyugao/rowserrcheck v1.1.1 h1:zibz55j/MJtLsjP1OF4bSdgXxwL1b+Vn7Tjzq7gFzUs= 333 | github.com/jingyugao/rowserrcheck v1.1.1/go.mod h1:4yvlZSDb3IyDTUZJUmpZfm2Hwok+Dtp+nu2qOq+er9c= 334 | github.com/jjti/go-spancheck v0.6.4 h1:Tl7gQpYf4/TMU7AT84MN83/6PutY21Nb9fuQjFTpRRc= 335 | github.com/jjti/go-spancheck v0.6.4/go.mod h1:yAEYdKJ2lRkDA8g7X+oKUHXOWVAXSBJRv04OhF+QUjk= 336 | github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= 337 | github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= 338 | github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= 339 | github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= 340 | github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= 341 | github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= 342 | github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= 343 | github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= 344 | github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= 345 | github.com/julz/importas v0.2.0 h1:y+MJN/UdL63QbFJHws9BVC5RpA2iq0kpjrFajTGivjQ= 346 | github.com/julz/importas v0.2.0/go.mod h1:pThlt589EnCYtMnmhmRYY/qn9lCf/frPOK+WMx3xiJY= 347 | github.com/karamaru-alpha/copyloopvar v1.2.1 h1:wmZaZYIjnJ0b5UoKDjUHrikcV0zuPyyxI4SVplLd2CI= 348 | github.com/karamaru-alpha/copyloopvar v1.2.1/go.mod h1:nFmMlFNlClC2BPvNaHMdkirmTJxVCY0lhxBtlfOypMM= 349 | github.com/kisielk/errcheck v1.9.0 h1:9xt1zI9EBfcYBvdU1nVrzMzzUPUtPKs9bVSIM3TAb3M= 350 | github.com/kisielk/errcheck v1.9.0/go.mod h1:kQxWMMVZgIkDq7U8xtG/n2juOjbLgZtedi0D+/VL/i8= 351 | github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= 352 | github.com/kkHAIKE/contextcheck v1.1.6 h1:7HIyRcnyzxL9Lz06NGhiKvenXq7Zw6Q0UQu/ttjfJCE= 353 | github.com/kkHAIKE/contextcheck v1.1.6/go.mod h1:3dDbMRNBFaq8HFXWC1JyvDSPm43CmE6IuHam8Wr0rkg= 354 | github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= 355 | github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= 356 | github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= 357 | github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= 358 | github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= 359 | github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= 360 | github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= 361 | github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= 362 | github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= 363 | github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= 364 | github.com/kulti/thelper v0.6.3 h1:ElhKf+AlItIu+xGnI990no4cE2+XaSu1ULymV2Yulxs= 365 | github.com/kulti/thelper v0.6.3/go.mod h1:DsqKShOvP40epevkFrvIwkCMNYxMeTNjdWL4dqWHZ6I= 366 | github.com/kunwardeep/paralleltest v1.0.14 h1:wAkMoMeGX/kGfhQBPODT/BL8XhK23ol/nuQ3SwFaUw8= 367 | github.com/kunwardeep/paralleltest v1.0.14/go.mod h1:di4moFqtfz3ToSKxhNjhOZL+696QtJGCFe132CbBLGk= 368 | github.com/lasiar/canonicalheader v1.1.2 h1:vZ5uqwvDbyJCnMhmFYimgMZnJMjwljN5VGY0VKbMXb4= 369 | github.com/lasiar/canonicalheader v1.1.2/go.mod h1:qJCeLFS0G/QlLQ506T+Fk/fWMa2VmBUiEI2cuMK4djI= 370 | github.com/ldez/exptostd v0.4.3 h1:Ag1aGiq2epGePuRJhez2mzOpZ8sI9Gimcb4Sb3+pk9Y= 371 | github.com/ldez/exptostd v0.4.3/go.mod h1:iZBRYaUmcW5jwCR3KROEZ1KivQQp6PHXbDPk9hqJKCQ= 372 | github.com/ldez/gomoddirectives v0.6.1 h1:Z+PxGAY+217f/bSGjNZr/b2KTXcyYLgiWI6geMBN2Qc= 373 | github.com/ldez/gomoddirectives v0.6.1/go.mod h1:cVBiu3AHR9V31em9u2kwfMKD43ayN5/XDgr+cdaFaKs= 374 | github.com/ldez/grignotin v0.9.0 h1:MgOEmjZIVNn6p5wPaGp/0OKWyvq42KnzAt/DAb8O4Ow= 375 | github.com/ldez/grignotin v0.9.0/go.mod h1:uaVTr0SoZ1KBii33c47O1M8Jp3OP3YDwhZCmzT9GHEk= 376 | github.com/ldez/tagliatelle v0.7.1 h1:bTgKjjc2sQcsgPiT902+aadvMjCeMHrY7ly2XKFORIk= 377 | github.com/ldez/tagliatelle v0.7.1/go.mod h1:3zjxUpsNB2aEZScWiZTHrAXOl1x25t3cRmzfK1mlo2I= 378 | github.com/ldez/usetesting v0.4.3 h1:pJpN0x3fMupdTf/IapYjnkhiY1nSTN+pox1/GyBRw3k= 379 | github.com/ldez/usetesting v0.4.3/go.mod h1:eEs46T3PpQ+9RgN9VjpY6qWdiw2/QmfiDeWmdZdrjIQ= 380 | github.com/leonklingele/grouper v1.1.2 h1:o1ARBDLOmmasUaNDesWqWCIFH3u7hoFlM84YrjT3mIY= 381 | github.com/leonklingele/grouper v1.1.2/go.mod h1:6D0M/HVkhs2yRKRFZUoGjeDy7EZTfFBE9gl4kjmIGkA= 382 | github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY= 383 | github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= 384 | github.com/macabu/inamedparam v0.2.0 h1:VyPYpOc10nkhI2qeNUdh3Zket4fcZjEWe35poddBCpE= 385 | github.com/macabu/inamedparam v0.2.0/go.mod h1:+Pee9/YfGe5LJ62pYXqB89lJ+0k5bsR8Wgz/C0Zlq3U= 386 | github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= 387 | github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= 388 | github.com/manuelarte/funcorder v0.2.1 h1:7QJsw3qhljoZ5rH0xapIvjw31EcQeFbF31/7kQ/xS34= 389 | github.com/manuelarte/funcorder v0.2.1/go.mod h1:BQQ0yW57+PF9ZpjpeJDKOffEsQbxDFKW8F8zSMe/Zd0= 390 | github.com/maratori/testableexamples v1.0.0 h1:dU5alXRrD8WKSjOUnmJZuzdxWOEQ57+7s93SLMxb2vI= 391 | github.com/maratori/testableexamples v1.0.0/go.mod h1:4rhjL1n20TUTT4vdh3RDqSizKLyXp7K2u6HgraZCGzE= 392 | github.com/maratori/testpackage v1.1.1 h1:S58XVV5AD7HADMmD0fNnziNHqKvSdDuEKdPD1rNTU04= 393 | github.com/maratori/testpackage v1.1.1/go.mod h1:s4gRK/ym6AMrqpOa/kEbQTV4Q4jb7WeLZzVhVVVOQMc= 394 | github.com/matoous/godox v1.1.0 h1:W5mqwbyWrwZv6OQ5Z1a/DHGMOvXYCBP3+Ht7KMoJhq4= 395 | github.com/matoous/godox v1.1.0/go.mod h1:jgE/3fUXiTurkdHOLT5WEkThTSuE7yxHv5iWPa80afs= 396 | github.com/matryer/is v1.4.0 h1:sosSmIWwkYITGrxZ25ULNDeKiMNzFSr4V/eqBQP0PeE= 397 | github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU= 398 | github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE= 399 | github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8= 400 | github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= 401 | github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= 402 | github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= 403 | github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc= 404 | github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= 405 | github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= 406 | github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= 407 | github.com/mgechev/revive v1.9.0 h1:8LaA62XIKrb8lM6VsBSQ92slt/o92z5+hTw3CmrvSrM= 408 | github.com/mgechev/revive v1.9.0/go.mod h1:LAPq3+MgOf7GcL5PlWIkHb0PT7XH4NuC2LdWymhb9Mo= 409 | github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= 410 | github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= 411 | github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= 412 | github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= 413 | github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= 414 | github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= 415 | github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= 416 | github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= 417 | github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= 418 | github.com/moricho/tparallel v0.3.2 h1:odr8aZVFA3NZrNybggMkYO3rgPRcqjeQUlBBFVxKHTI= 419 | github.com/moricho/tparallel v0.3.2/go.mod h1:OQ+K3b4Ln3l2TZveGCywybl68glfLEwFGqvnjok8b+U= 420 | github.com/muesli/termenv v0.16.0 h1:S5AlUN9dENB57rsbnkPyfdGuWIlkmzJjbFf0Tf5FWUc= 421 | github.com/muesli/termenv v0.16.0/go.mod h1:ZRfOIKPFDYQoDFF4Olj7/QJbW60Ol/kL1pU3VfY/Cnk= 422 | github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= 423 | github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= 424 | github.com/nakabonne/nestif v0.3.1 h1:wm28nZjhQY5HyYPx+weN3Q65k6ilSBxDb8v5S81B81U= 425 | github.com/nakabonne/nestif v0.3.1/go.mod h1:9EtoZochLn5iUprVDmDjqGKPofoUEBL8U4Ngq6aY7OE= 426 | github.com/nishanths/exhaustive v0.12.0 h1:vIY9sALmw6T/yxiASewa4TQcFsVYZQQRUQJhKRf3Swg= 427 | github.com/nishanths/exhaustive v0.12.0/go.mod h1:mEZ95wPIZW+x8kC4TgC+9YCUgiST7ecevsVDTgc2obs= 428 | github.com/nishanths/predeclared v0.2.2 h1:V2EPdZPliZymNAn79T8RkNApBjMmVKh5XRpLm/w98Vk= 429 | github.com/nishanths/predeclared v0.2.2/go.mod h1:RROzoN6TnGQupbC+lqggsOlcgysk3LMK/HI84Mp280c= 430 | github.com/nunnatsa/ginkgolinter v0.19.1 h1:mjwbOlDQxZi9Cal+KfbEJTCz327OLNfwNvoZ70NJ+c4= 431 | github.com/nunnatsa/ginkgolinter v0.19.1/go.mod h1:jkQ3naZDmxaZMXPWaS9rblH+i+GWXQCaS/JFIWcOH2s= 432 | github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= 433 | github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= 434 | github.com/onsi/ginkgo/v2 v2.23.3 h1:edHxnszytJ4lD9D5Jjc4tiDkPBZ3siDeJJkUZJJVkp0= 435 | github.com/onsi/ginkgo/v2 v2.23.3/go.mod h1:zXTP6xIp3U8aVuXN8ENK9IXRaTjFnpVB9mGmaSRvxnM= 436 | github.com/onsi/gomega v1.36.3 h1:hID7cr8t3Wp26+cYnfcjR6HpJ00fdogN6dqZ1t6IylU= 437 | github.com/onsi/gomega v1.36.3/go.mod h1:8D9+Txp43QWKhM24yyOBEdpkzN8FvJyAwecBgsU4KU0= 438 | github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw= 439 | github.com/otiai10/copy v1.14.0 h1:dCI/t1iTdYGtkvCuBG2BgR6KZa83PTclw4U5n2wAllU= 440 | github.com/otiai10/copy v1.14.0/go.mod h1:ECfuL02W+/FkTWZWgQqXPWZgW9oeKCSQ5qVfSc4qc4w= 441 | github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= 442 | github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6j4vs= 443 | github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo= 444 | github.com/otiai10/mint v1.3.1/go.mod h1:/yxELlJQ0ufhjUwhshSj+wFjZ78CnZ48/1wtmBH1OTc= 445 | github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= 446 | github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= 447 | github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4= 448 | github.com/pelletier/go-toml/v2 v2.2.4/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY= 449 | github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= 450 | github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= 451 | github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= 452 | github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= 453 | github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= 454 | github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= 455 | github.com/polyfloyd/go-errorlint v1.8.0 h1:DL4RestQqRLr8U4LygLw8g2DX6RN1eBJOpa2mzsrl1Q= 456 | github.com/polyfloyd/go-errorlint v1.8.0/go.mod h1:G2W0Q5roxbLCt0ZQbdoxQxXktTjwNyDbEaj3n7jvl4s= 457 | github.com/prashantv/gostub v1.1.0 h1:BTyx3RfQjRHnUWaGF9oQos79AlQ5k8WNktv7VGvVH4g= 458 | github.com/prashantv/gostub v1.1.0/go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U= 459 | github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= 460 | github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= 461 | github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= 462 | github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= 463 | github.com/prometheus/client_golang v1.12.1 h1:ZiaPsmm9uiBeaSMRznKsCDNtPCS0T3JVDGF+06gjBzk= 464 | github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= 465 | github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= 466 | github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= 467 | github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= 468 | github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M= 469 | github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= 470 | github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= 471 | github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= 472 | github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= 473 | github.com/prometheus/common v0.32.1 h1:hWIdL3N2HoUx3B8j3YN9mWor0qhY/NlEKZEaXxuIRh4= 474 | github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= 475 | github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= 476 | github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= 477 | github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= 478 | github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= 479 | github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU= 480 | github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= 481 | github.com/quasilyte/go-ruleguard v0.4.4 h1:53DncefIeLX3qEpjzlS1lyUmQoUEeOWPFWqaTJq9eAQ= 482 | github.com/quasilyte/go-ruleguard v0.4.4/go.mod h1:Vl05zJ538vcEEwu16V/Hdu7IYZWyKSwIy4c88Ro1kRE= 483 | github.com/quasilyte/go-ruleguard/dsl v0.3.22 h1:wd8zkOhSNr+I+8Qeciml08ivDt1pSXe60+5DqOpCjPE= 484 | github.com/quasilyte/go-ruleguard/dsl v0.3.22/go.mod h1:KeCP03KrjuSO0H1kTuZQCWlQPulDV6YMIXmpQss17rU= 485 | github.com/quasilyte/gogrep v0.5.0 h1:eTKODPXbI8ffJMN+W2aE0+oL0z/nh8/5eNdiO34SOAo= 486 | github.com/quasilyte/gogrep v0.5.0/go.mod h1:Cm9lpz9NZjEoL1tgZ2OgeUKPIxL1meE7eo60Z6Sk+Ng= 487 | github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 h1:TCg2WBOl980XxGFEZSS6KlBGIV0diGdySzxATTWoqaU= 488 | github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727/go.mod h1:rlzQ04UMyJXu/aOvhd8qT+hvDrFpiwqp8MRXDY9szc0= 489 | github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 h1:M8mH9eK4OUR4lu7Gd+PU1fV2/qnDNfzT635KRSObncs= 490 | github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567/go.mod h1:DWNGW8A4Y+GyBgPuaQJuWiy0XYftx4Xm/y5Jqk9I6VQ= 491 | github.com/raeperd/recvcheck v0.2.0 h1:GnU+NsbiCqdC2XX5+vMZzP+jAJC5fht7rcVTAhX74UI= 492 | github.com/raeperd/recvcheck v0.2.0/go.mod h1:n04eYkwIR0JbgD73wT8wL4JjPC3wm0nFtzBnWNocnYU= 493 | github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= 494 | github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ= 495 | github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= 496 | github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= 497 | github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ= 498 | github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc= 499 | github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= 500 | github.com/ryancurrah/gomodguard v1.4.1 h1:eWC8eUMNZ/wM/PWuZBv7JxxqT5fiIKSIyTvjb7Elr+g= 501 | github.com/ryancurrah/gomodguard v1.4.1/go.mod h1:qnMJwV1hX9m+YJseXEBhd2s90+1Xn6x9dLz11ualI1I= 502 | github.com/ryanrolds/sqlclosecheck v0.5.1 h1:dibWW826u0P8jNLsLN+En7+RqWWTYrjCB9fJfSfdyCU= 503 | github.com/ryanrolds/sqlclosecheck v0.5.1/go.mod h1:2g3dUjoS6AL4huFdv6wn55WpLIDjY7ZgUR4J8HOO/XQ= 504 | github.com/sanposhiho/wastedassign/v2 v2.1.0 h1:crurBF7fJKIORrV85u9UUpePDYGWnwvv3+A96WvwXT0= 505 | github.com/sanposhiho/wastedassign/v2 v2.1.0/go.mod h1:+oSmSC+9bQ+VUAxA66nBb0Z7N8CK7mscKTDYC6aIek4= 506 | github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 h1:PKK9DyHxif4LZo+uQSgXNqs0jj5+xZwwfKHgph2lxBw= 507 | github.com/santhosh-tekuri/jsonschema/v6 v6.0.1/go.mod h1:JXeL+ps8p7/KNMjDQk3TCwPpBy0wYklyWTfbkIzdIFU= 508 | github.com/sashamelentyev/interfacebloat v1.1.0 h1:xdRdJp0irL086OyW1H/RTZTr1h/tMEOsumirXcOJqAw= 509 | github.com/sashamelentyev/interfacebloat v1.1.0/go.mod h1:+Y9yU5YdTkrNvoX0xHc84dxiN1iBi9+G8zZIhPVoNjQ= 510 | github.com/sashamelentyev/usestdlibvars v1.28.0 h1:jZnudE2zKCtYlGzLVreNp5pmCdOxXUzwsMDBkR21cyQ= 511 | github.com/sashamelentyev/usestdlibvars v1.28.0/go.mod h1:9nl0jgOfHKWNFS43Ojw0i7aRoS4j6EBye3YBhmAIRF8= 512 | github.com/securego/gosec/v2 v2.22.3 h1:mRrCNmRF2NgZp4RJ8oJ6yPJ7G4x6OCiAXHd8x4trLRc= 513 | github.com/securego/gosec/v2 v2.22.3/go.mod h1:42M9Xs0v1WseinaB/BmNGO8AVqG8vRfhC2686ACY48k= 514 | github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= 515 | github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= 516 | github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk= 517 | github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041/go.mod h1:N5mDOmsrJOB+vfqUK+7DmDyjhSLIIBnXo9lvZJj3MWQ= 518 | github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= 519 | github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= 520 | github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= 521 | github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= 522 | github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= 523 | github.com/sivchari/containedctx v1.0.3 h1:x+etemjbsh2fB5ewm5FeLNi5bUjK0V8n0RB+Wwfd0XE= 524 | github.com/sivchari/containedctx v1.0.3/go.mod h1:c1RDvCbnJLtH4lLcYD/GqwiBSSf4F5Qk0xld2rBqzJ4= 525 | github.com/sonatard/noctx v0.1.0 h1:JjqOc2WN16ISWAjAk8M5ej0RfExEXtkEyExl2hLW+OM= 526 | github.com/sonatard/noctx v0.1.0/go.mod h1:0RvBxqY8D4j9cTTTWE8ylt2vqj2EPI8fHmrxHdsaZ2c= 527 | github.com/sourcegraph/go-diff v0.7.0 h1:9uLlrd5T46OXs5qpp8L/MTltk0zikUGi0sNNyCpA8G0= 528 | github.com/sourcegraph/go-diff v0.7.0/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag071iBaWPF6cjs= 529 | github.com/spf13/afero v1.14.0 h1:9tH6MapGnn/j0eb0yIXiLjERO8RB6xIVZRDCX7PtqWA= 530 | github.com/spf13/afero v1.14.0/go.mod h1:acJQ8t0ohCGuMN3O+Pv0V0hgMxNYDlvdk+VTfyZmbYo= 531 | github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= 532 | github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= 533 | github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo= 534 | github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0= 535 | github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= 536 | github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= 537 | github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= 538 | github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o= 539 | github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= 540 | github.com/spf13/viper v1.12.0 h1:CZ7eSOd3kZoaYDLbXnmzgQI5RlciuXBMA+18HwHRfZQ= 541 | github.com/spf13/viper v1.12.0/go.mod h1:b6COn30jlNxbm/V2IqWiNWkJ+vZNiMNksliPCiuKtSI= 542 | github.com/ssgreg/nlreturn/v2 v2.2.1 h1:X4XDI7jstt3ySqGU86YGAURbxw3oTDPK9sPEi6YEwQ0= 543 | github.com/ssgreg/nlreturn/v2 v2.2.1/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRkkxBiELzh2I= 544 | github.com/stbenjam/no-sprintf-host-port v0.2.0 h1:i8pxvGrt1+4G0czLr/WnmyH7zbZ8Bg8etvARQ1rpyl4= 545 | github.com/stbenjam/no-sprintf-host-port v0.2.0/go.mod h1:eL0bQ9PasS0hsyTyfTjjG+E80QIyPnBVQbYZyv20Jfk= 546 | github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= 547 | github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= 548 | github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= 549 | github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= 550 | github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= 551 | github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= 552 | github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= 553 | github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= 554 | github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= 555 | github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= 556 | github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= 557 | github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= 558 | github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= 559 | github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= 560 | github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= 561 | github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= 562 | github.com/subosito/gotenv v1.4.1 h1:jyEFiXpy21Wm81FBN71l9VoMMV8H8jG+qIK3GCpY6Qs= 563 | github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= 564 | github.com/tdakkota/asciicheck v0.4.1 h1:bm0tbcmi0jezRA2b5kg4ozmMuGAFotKI3RZfrhfovg8= 565 | github.com/tdakkota/asciicheck v0.4.1/go.mod h1:0k7M3rCfRXb0Z6bwgvkEIMleKH3kXNz9UqJ9Xuqopr8= 566 | github.com/tenntenn/modver v1.0.1 h1:2klLppGhDgzJrScMpkj9Ujy3rXPUspSjAcev9tSEBgA= 567 | github.com/tenntenn/modver v1.0.1/go.mod h1:bePIyQPb7UeioSRkw3Q0XeMhYZSMx9B8ePqg6SAMGH0= 568 | github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3 h1:f+jULpRQGxTSkNYKJ51yaw6ChIqO+Je8UqsTKN/cDag= 569 | github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3/go.mod h1:ON8b8w4BN/kE1EOhwT0o+d62W65a6aPw1nouo9LMgyY= 570 | github.com/tetafro/godot v1.5.0 h1:aNwfVI4I3+gdxjMgYPus9eHmoBeJIbnajOyqZYStzuw= 571 | github.com/tetafro/godot v1.5.0/go.mod h1:2oVxTBSftRTh4+MVfUaUXR6bn2GDXCaMcOG4Dk3rfio= 572 | github.com/timakin/bodyclose v0.0.0-20241222091800-1db5c5ca4d67 h1:9LPGD+jzxMlnk5r6+hJnar67cgpDIz/iyD+rfl5r2Vk= 573 | github.com/timakin/bodyclose v0.0.0-20241222091800-1db5c5ca4d67/go.mod h1:mkjARE7Yr8qU23YcGMSALbIxTQ9r9QBVahQOBRfU460= 574 | github.com/timonwong/loggercheck v0.11.0 h1:jdaMpYBl+Uq9mWPXv1r8jc5fC3gyXx4/WGwTnnNKn4M= 575 | github.com/timonwong/loggercheck v0.11.0/go.mod h1:HEAWU8djynujaAVX7QI65Myb8qgfcZ1uKbdpg3ZzKl8= 576 | github.com/tomarrell/wrapcheck/v2 v2.11.0 h1:BJSt36snX9+4WTIXeJ7nvHBQBcm1h2SjQMSlmQ6aFSU= 577 | github.com/tomarrell/wrapcheck/v2 v2.11.0/go.mod h1:wFL9pDWDAbXhhPZZt+nG8Fu+h29TtnZ2MW6Lx4BRXIU= 578 | github.com/tommy-muehle/go-mnd/v2 v2.5.1 h1:NowYhSdyE/1zwK9QCLeRb6USWdoif80Ie+v+yU8u1Zw= 579 | github.com/tommy-muehle/go-mnd/v2 v2.5.1/go.mod h1:WsUAkMJMYww6l/ufffCD3m+P7LEvr8TnZn9lwVDlgzw= 580 | github.com/ultraware/funlen v0.2.0 h1:gCHmCn+d2/1SemTdYMiKLAHFYxTYz7z9VIDRaTGyLkI= 581 | github.com/ultraware/funlen v0.2.0/go.mod h1:ZE0q4TsJ8T1SQcjmkhN/w+MceuatI6pBFSxxyteHIJA= 582 | github.com/ultraware/whitespace v0.2.0 h1:TYowo2m9Nfj1baEQBjuHzvMRbp19i+RCcRYrSWoFa+g= 583 | github.com/ultraware/whitespace v0.2.0/go.mod h1:XcP1RLD81eV4BW8UhQlpaR+SDc2givTvyI8a586WjW8= 584 | github.com/uudashr/gocognit v1.2.0 h1:3BU9aMr1xbhPlvJLSydKwdLN3tEUUrzPSSM8S4hDYRA= 585 | github.com/uudashr/gocognit v1.2.0/go.mod h1:k/DdKPI6XBZO1q7HgoV2juESI2/Ofj9AcHPZhBBdrTU= 586 | github.com/uudashr/iface v1.3.1 h1:bA51vmVx1UIhiIsQFSNq6GZ6VPTk3WNMZgRiCe9R29U= 587 | github.com/uudashr/iface v1.3.1/go.mod h1:4QvspiRd3JLPAEXBQ9AiZpLbJlrWWgRChOKDJEuQTdg= 588 | github.com/xen0n/gosmopolitan v1.3.0 h1:zAZI1zefvo7gcpbCOrPSHJZJYA9ZgLfJqtKzZ5pHqQM= 589 | github.com/xen0n/gosmopolitan v1.3.0/go.mod h1:rckfr5T6o4lBtM1ga7mLGKZmLxswUoH1zxHgNXOsEt4= 590 | github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavMF/ppJZNG9ZpyihvCd0w101no= 591 | github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM= 592 | github.com/yagipy/maintidx v1.0.0 h1:h5NvIsCz+nRDapQ0exNv4aJ0yXSI0420omVANTv3GJM= 593 | github.com/yagipy/maintidx v1.0.0/go.mod h1:0qNf/I/CCZXSMhsRsrEPDZ+DkekpKLXAJfsTACwgXLk= 594 | github.com/yeya24/promlinter v0.3.0 h1:JVDbMp08lVCP7Y6NP3qHroGAO6z2yGKQtS5JsjqtoFs= 595 | github.com/yeya24/promlinter v0.3.0/go.mod h1:cDfJQQYv9uYciW60QT0eeHlFodotkYZlL+YcPQN+mW4= 596 | github.com/ykadowak/zerologlint v0.1.5 h1:Gy/fMz1dFQN9JZTPjv1hxEk+sRWm05row04Yoolgdiw= 597 | github.com/ykadowak/zerologlint v0.1.5/go.mod h1:KaUskqF3e/v59oPmdq1U1DnKcuHokl2/K1U4pmIELKg= 598 | github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= 599 | github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= 600 | github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= 601 | github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= 602 | github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= 603 | github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= 604 | github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= 605 | gitlab.com/bosi/decorder v0.4.2 h1:qbQaV3zgwnBZ4zPMhGLW4KZe7A7NwxEhJx39R3shffo= 606 | gitlab.com/bosi/decorder v0.4.2/go.mod h1:muuhHoaJkA9QLcYHq4Mj8FJUwDZ+EirSHRiaTcTf6T8= 607 | go-simpler.org/assert v0.9.0 h1:PfpmcSvL7yAnWyChSjOz6Sp6m9j5lyK8Ok9pEL31YkQ= 608 | go-simpler.org/assert v0.9.0/go.mod h1:74Eqh5eI6vCK6Y5l3PI8ZYFXG4Sa+tkr70OIPJAUr28= 609 | go-simpler.org/musttag v0.13.0 h1:Q/YAW0AHvaoaIbsPj3bvEI5/QFP7w696IMUpnKXQfCE= 610 | go-simpler.org/musttag v0.13.0/go.mod h1:FTzIGeK6OkKlUDVpj0iQUXZLUO1Js9+mvykDQy9C5yM= 611 | go-simpler.org/sloglint v0.11.0 h1:JlR1X4jkbeaffiyjLtymeqmGDKBDO1ikC6rjiuFAOco= 612 | go-simpler.org/sloglint v0.11.0/go.mod h1:CFDO8R1i77dlciGfPEPvYke2ZMx4eyGiEIWkyeW2Pvw= 613 | go.augendre.info/fatcontext v0.8.0 h1:2dfk6CQbDGeu1YocF59Za5Pia7ULeAM6friJ3LP7lmk= 614 | go.augendre.info/fatcontext v0.8.0/go.mod h1:oVJfMgwngMsHO+KB2MdgzcO+RvtNdiCEOlWvSFtax/s= 615 | go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= 616 | go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= 617 | go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= 618 | go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= 619 | go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= 620 | go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= 621 | go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= 622 | go.uber.org/automaxprocs v1.6.0 h1:O3y2/QNTOdbF+e/dpXNNW7Rx2hZ4sTIPyybbxyNqTUs= 623 | go.uber.org/automaxprocs v1.6.0/go.mod h1:ifeIMSnPZuznNm6jmdzmU3/bfk01Fe2fotchwEFJ8r8= 624 | go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI= 625 | go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= 626 | go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= 627 | go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= 628 | go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= 629 | go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= 630 | golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= 631 | golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= 632 | golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 633 | golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 634 | golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 635 | golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= 636 | golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= 637 | golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= 638 | golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= 639 | golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= 640 | golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= 641 | golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= 642 | golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= 643 | golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= 644 | golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= 645 | golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= 646 | golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= 647 | golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= 648 | golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= 649 | golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 h1:e66Fs6Z+fZTbFBAxKfP3PALWBtpfqks2bwGcexMxgtk= 650 | golang.org/x/exp v0.0.0-20240909161429-701f63a606c0/go.mod h1:2TbTHSBQa924w8M6Xs1QcRcFwyucIwBGpK1p2f1YFFY= 651 | golang.org/x/exp/typeparams v0.0.0-20220428152302-39d4317da171/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= 652 | golang.org/x/exp/typeparams v0.0.0-20230203172020-98cc5a0785f9/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= 653 | golang.org/x/exp/typeparams v0.0.0-20250210185358-939b2ce775ac h1:TSSpLIG4v+p0rPv1pNOQtl1I8knsO4S9trOxNMOLVP4= 654 | golang.org/x/exp/typeparams v0.0.0-20250210185358-939b2ce775ac/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= 655 | golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= 656 | golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= 657 | golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= 658 | golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= 659 | golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= 660 | golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 661 | golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 662 | golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 663 | golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 664 | golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= 665 | golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= 666 | golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= 667 | golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= 668 | golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= 669 | golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= 670 | golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= 671 | golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= 672 | golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= 673 | golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= 674 | golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= 675 | golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= 676 | golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= 677 | golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= 678 | golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= 679 | golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= 680 | golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= 681 | golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= 682 | golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= 683 | golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= 684 | golang.org/x/mod v0.24.0 h1:ZfthKaKaT4NrhGVZHO1/WDTwGES4De8KtWO0SIbNJMU= 685 | golang.org/x/mod v0.24.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww= 686 | golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 687 | golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 688 | golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 689 | golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 690 | golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 691 | golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 692 | golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 693 | golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 694 | golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 695 | golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= 696 | golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 697 | golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 698 | golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 699 | golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 700 | golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 701 | golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 702 | golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 703 | golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 704 | golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 705 | golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 706 | golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 707 | golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 708 | golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 709 | golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 710 | golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 711 | golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= 712 | golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= 713 | golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= 714 | golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= 715 | golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= 716 | golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= 717 | golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= 718 | golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= 719 | golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= 720 | golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= 721 | golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= 722 | golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= 723 | golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= 724 | golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= 725 | golang.org/x/net v0.16.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= 726 | golang.org/x/net v0.39.0 h1:ZCu7HMWDxpXpaiKdhzIfaltL9Lp31x/3fCP11bc6/fY= 727 | golang.org/x/net v0.39.0/go.mod h1:X7NRbYVEA+ewNkCNyJ513WmMdQ3BineSwVtN2zD/d+E= 728 | golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= 729 | golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= 730 | golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= 731 | golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= 732 | golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= 733 | golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= 734 | golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 735 | golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 736 | golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 737 | golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 738 | golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 739 | golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 740 | golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 741 | golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 742 | golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 743 | golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 744 | golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 745 | golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 746 | golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 747 | golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= 748 | golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= 749 | golang.org/x/sync v0.13.0 h1:AauUjRAJ9OSnvULf/ARrrVywoJDy0YS2AwQ98I37610= 750 | golang.org/x/sync v0.13.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= 751 | golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 752 | golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 753 | golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 754 | golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 755 | golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 756 | golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 757 | golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 758 | golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 759 | golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 760 | golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 761 | golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 762 | golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 763 | golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 764 | golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 765 | golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 766 | golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 767 | golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 768 | golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 769 | golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 770 | golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 771 | golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 772 | golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 773 | golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 774 | golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 775 | golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 776 | golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 777 | golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 778 | golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 779 | golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 780 | golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 781 | golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 782 | golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 783 | golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 784 | golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 785 | golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 786 | golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 787 | golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 788 | golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 789 | golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 790 | golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 791 | golang.org/x/sys v0.0.0-20211105183446-c75c47738b0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 792 | golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 793 | golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 794 | golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 795 | golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 796 | golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 797 | golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 798 | golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 799 | golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 800 | golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 801 | golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 802 | golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 803 | golang.org/x/sys v0.32.0 h1:s77OFDvIQeibCmezSnk/q6iAfkdiQaJi4VzroCFrN20= 804 | golang.org/x/sys v0.32.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= 805 | golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= 806 | golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= 807 | golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= 808 | golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= 809 | golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= 810 | golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= 811 | golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= 812 | golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= 813 | golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 814 | golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 815 | golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 816 | golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= 817 | golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= 818 | golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= 819 | golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= 820 | golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= 821 | golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= 822 | golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= 823 | golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= 824 | golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= 825 | golang.org/x/text v0.24.0 h1:dd5Bzh4yt5KYA8f9CJHCP4FB4D51c2c6JvN37xJJkJ0= 826 | golang.org/x/text v0.24.0/go.mod h1:L8rBsPeo2pSS+xqN0d5u2ikmjtmoJbDBT1b7nHvFCdU= 827 | golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= 828 | golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= 829 | golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= 830 | golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= 831 | golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= 832 | golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= 833 | golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= 834 | golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= 835 | golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= 836 | golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= 837 | golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= 838 | golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= 839 | golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= 840 | golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= 841 | golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= 842 | golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 843 | golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 844 | golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 845 | golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 846 | golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 847 | golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 848 | golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 849 | golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 850 | golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 851 | golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 852 | golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 853 | golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 854 | golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 855 | golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 856 | golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 857 | golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 858 | golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 859 | golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 860 | golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= 861 | golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= 862 | golang.org/x/tools v0.0.0-20200324003944-a576cf524670/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= 863 | golang.org/x/tools v0.0.0-20200329025819-fd4102a86c65/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= 864 | golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= 865 | golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= 866 | golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= 867 | golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= 868 | golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= 869 | golang.org/x/tools v0.0.0-20200724022722-7017fd6b1305/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= 870 | golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= 871 | golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= 872 | golang.org/x/tools v0.0.0-20200820010801-b793a1359eac/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= 873 | golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= 874 | golang.org/x/tools v0.0.0-20201023174141-c8cfbd0f21e6/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= 875 | golang.org/x/tools v0.1.1-0.20210205202024-ef80cdb6ec6d/go.mod h1:9bzcO0MWcOuT0tm1iBGzDVPshzfwoVvREIui8C+MHqU= 876 | golang.org/x/tools v0.1.1-0.20210302220138-2ac05c832e1a/go.mod h1:9bzcO0MWcOuT0tm1iBGzDVPshzfwoVvREIui8C+MHqU= 877 | golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= 878 | golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= 879 | golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= 880 | golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= 881 | golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= 882 | golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= 883 | golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= 884 | golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= 885 | golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= 886 | golang.org/x/tools v0.32.0 h1:Q7N1vhpkQv7ybVzLFtTjvQya2ewbwNDZzUgfXGqtMWU= 887 | golang.org/x/tools v0.32.0/go.mod h1:ZxrU41P/wAbZD8EDa6dDCa6XfpkhJ7HFMjHJXfBDu8s= 888 | golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 889 | golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 890 | golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 891 | golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 892 | google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= 893 | google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= 894 | google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= 895 | google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= 896 | google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= 897 | google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= 898 | google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= 899 | google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 900 | google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 901 | google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 902 | google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 903 | google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 904 | google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= 905 | google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= 906 | google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= 907 | google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= 908 | google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= 909 | google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= 910 | google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= 911 | google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= 912 | google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= 913 | google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= 914 | google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= 915 | google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 916 | google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 917 | google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 918 | google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 919 | google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= 920 | google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= 921 | google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= 922 | google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 923 | google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 924 | google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 925 | google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 926 | google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 927 | google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 928 | google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= 929 | google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 930 | google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 931 | google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 932 | google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 933 | google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 934 | google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 935 | google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 936 | google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 937 | google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= 938 | google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= 939 | google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= 940 | google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 941 | google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 942 | google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 943 | google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= 944 | google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= 945 | google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= 946 | google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= 947 | google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= 948 | google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= 949 | google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= 950 | google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= 951 | google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= 952 | google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= 953 | google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= 954 | google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= 955 | google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= 956 | google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= 957 | google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= 958 | google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= 959 | google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= 960 | google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= 961 | google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= 962 | google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= 963 | google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= 964 | google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= 965 | google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= 966 | google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= 967 | google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY= 968 | google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY= 969 | gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= 970 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 971 | gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 972 | gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 973 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= 974 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= 975 | gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= 976 | gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= 977 | gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= 978 | gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 979 | gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 980 | gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 981 | gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 982 | gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 983 | gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= 984 | gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= 985 | gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= 986 | gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= 987 | gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= 988 | honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 989 | honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 990 | honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 991 | honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 992 | honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= 993 | honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= 994 | honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= 995 | honnef.co/go/tools v0.6.1 h1:R094WgE8K4JirYjBaOpz/AvTyUu/3wbmAoskKN/pxTI= 996 | honnef.co/go/tools v0.6.1/go.mod h1:3puzxxljPCe8RGJX7BIy1plGbxEOZni5mR2aXe3/uk4= 997 | mvdan.cc/gofumpt v0.8.0 h1:nZUCeC2ViFaerTcYKstMmfysj6uhQrA2vJe+2vwGU6k= 998 | mvdan.cc/gofumpt v0.8.0/go.mod h1:vEYnSzyGPmjvFkqJWtXkh79UwPWP9/HMxQdGEXZHjpg= 999 | mvdan.cc/unparam v0.0.0-20250301125049-0df0534333a4 h1:WjUu4yQoT5BHT1w8Zu56SP8367OuBV5jvo+4Ulppyf8= 1000 | mvdan.cc/unparam v0.0.0-20250301125049-0df0534333a4/go.mod h1:rthT7OuvRbaGcd5ginj6dA2oLE7YNlta9qhBNNdCaLE= 1001 | rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= 1002 | rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= 1003 | rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= 1004 | -------------------------------------------------------------------------------- /sample-go-mod/sample.go: -------------------------------------------------------------------------------- 1 | // Package main is used as test input for golangci action. 2 | package main 3 | 4 | import ( 5 | "crypto/md5" 6 | "encoding/hex" 7 | "errors" 8 | ) 9 | 10 | // Hash~ 11 | func Hash(data string) string { 12 | retError() 13 | retError2() 14 | 15 | h := md5.New() 16 | h.Write([]byte(data)) 17 | return hex.EncodeToString(h.Sum(nil)) 18 | } 19 | 20 | func retError() error { 21 | return errors.New("err") 22 | } 23 | 24 | func retError2() error { 25 | return errors.New("err2") 26 | } 27 | -------------------------------------------------------------------------------- /sample-go-mod/tools.go: -------------------------------------------------------------------------------- 1 | //go:build tools 2 | 3 | package main 4 | 5 | import ( 6 | _ "github.com/golangci/golangci-lint/v2/cmd/golangci-lint" 7 | ) 8 | -------------------------------------------------------------------------------- /sample-go-tool/.golangci.yml: -------------------------------------------------------------------------------- 1 | version: "2" 2 | 3 | output: 4 | show-stats: true 5 | sort-order: 6 | - file 7 | - linter 8 | -------------------------------------------------------------------------------- /sample-go-tool/go.mod: -------------------------------------------------------------------------------- 1 | module sample 2 | 3 | go 1.24 4 | 5 | toolchain go1.24.0 6 | 7 | tool github.com/golangci/golangci-lint/v2/cmd/golangci-lint 8 | 9 | require ( 10 | 4d63.com/gocheckcompilerdirectives v1.3.0 // indirect 11 | 4d63.com/gochecknoglobals v0.2.2 // indirect 12 | github.com/4meepo/tagalign v1.4.2 // indirect 13 | github.com/Abirdcfly/dupword v0.1.3 // indirect 14 | github.com/Antonboom/errname v1.1.0 // indirect 15 | github.com/Antonboom/nilnil v1.1.0 // indirect 16 | github.com/Antonboom/testifylint v1.6.1 // indirect 17 | github.com/BurntSushi/toml v1.5.0 // indirect 18 | github.com/Crocmagnon/fatcontext v0.7.1 // indirect 19 | github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect 20 | github.com/GaijinEntertainment/go-exhaustruct/v3 v3.3.1 // indirect 21 | github.com/Masterminds/semver/v3 v3.3.1 // indirect 22 | github.com/OpenPeeDeeP/depguard/v2 v2.2.1 // indirect 23 | github.com/alecthomas/chroma/v2 v2.17.2 // indirect 24 | github.com/alecthomas/go-check-sumtype v0.3.1 // indirect 25 | github.com/alexkohler/nakedret/v2 v2.0.6 // indirect 26 | github.com/alexkohler/prealloc v1.0.0 // indirect 27 | github.com/alingse/asasalint v0.0.11 // indirect 28 | github.com/alingse/nilnesserr v0.2.0 // indirect 29 | github.com/ashanbrown/forbidigo v1.6.0 // indirect 30 | github.com/ashanbrown/makezero v1.2.0 // indirect 31 | github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect 32 | github.com/beorn7/perks v1.0.1 // indirect 33 | github.com/bkielbasa/cyclop v1.2.3 // indirect 34 | github.com/blizzy78/varnamelen v0.8.0 // indirect 35 | github.com/bombsimon/wsl/v4 v4.7.0 // indirect 36 | github.com/breml/bidichk v0.3.3 // indirect 37 | github.com/breml/errchkjson v0.4.1 // indirect 38 | github.com/butuzov/ireturn v0.4.0 // indirect 39 | github.com/butuzov/mirror v1.3.0 // indirect 40 | github.com/catenacyber/perfsprint v0.9.1 // indirect 41 | github.com/ccojocar/zxcvbn-go v1.0.2 // indirect 42 | github.com/cespare/xxhash/v2 v2.3.0 // indirect 43 | github.com/charithe/durationcheck v0.0.10 // indirect 44 | github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect 45 | github.com/charmbracelet/lipgloss v1.1.0 // indirect 46 | github.com/charmbracelet/x/ansi v0.8.0 // indirect 47 | github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd // indirect 48 | github.com/charmbracelet/x/term v0.2.1 // indirect 49 | github.com/chavacava/garif v0.1.0 // indirect 50 | github.com/ckaznocha/intrange v0.3.1 // indirect 51 | github.com/curioswitch/go-reassign v0.3.0 // indirect 52 | github.com/daixiang0/gci v0.13.6 // indirect 53 | github.com/dave/dst v0.27.3 // indirect 54 | github.com/davecgh/go-spew v1.1.1 // indirect 55 | github.com/denis-tingaikin/go-header v0.5.0 // indirect 56 | github.com/dlclark/regexp2 v1.11.5 // indirect 57 | github.com/ettle/strcase v0.2.0 // indirect 58 | github.com/fatih/color v1.18.0 // indirect 59 | github.com/fatih/structtag v1.2.0 // indirect 60 | github.com/firefart/nonamedreturns v1.0.6 // indirect 61 | github.com/fsnotify/fsnotify v1.5.4 // indirect 62 | github.com/fzipp/gocyclo v0.6.0 // indirect 63 | github.com/ghostiam/protogetter v0.3.15 // indirect 64 | github.com/go-critic/go-critic v0.13.0 // indirect 65 | github.com/go-toolsmith/astcast v1.1.0 // indirect 66 | github.com/go-toolsmith/astcopy v1.1.0 // indirect 67 | github.com/go-toolsmith/astequal v1.2.0 // indirect 68 | github.com/go-toolsmith/astfmt v1.1.0 // indirect 69 | github.com/go-toolsmith/astp v1.1.0 // indirect 70 | github.com/go-toolsmith/strparse v1.1.0 // indirect 71 | github.com/go-toolsmith/typep v1.1.0 // indirect 72 | github.com/go-viper/mapstructure/v2 v2.2.1 // indirect 73 | github.com/go-xmlfmt/xmlfmt v1.1.3 // indirect 74 | github.com/gobwas/glob v0.2.3 // indirect 75 | github.com/gofrs/flock v0.12.1 // indirect 76 | github.com/golang/protobuf v1.5.3 // indirect 77 | github.com/golangci/dupl v0.0.0-20250308024227-f665c8d69b32 // indirect 78 | github.com/golangci/go-printf-func-name v0.1.0 // indirect 79 | github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d // indirect 80 | github.com/golangci/golangci-lint/v2 v2.1.6 // indirect 81 | github.com/golangci/golines v0.0.0-20250217134842-442fd0091d95 // indirect 82 | github.com/golangci/misspell v0.6.0 // indirect 83 | github.com/golangci/plugin-module-register v0.1.1 // indirect 84 | github.com/golangci/revgrep v0.8.0 // indirect 85 | github.com/golangci/unconvert v0.0.0-20250410112200-a129a6e6413e // indirect 86 | github.com/google/go-cmp v0.7.0 // indirect 87 | github.com/gordonklaus/ineffassign v0.1.0 // indirect 88 | github.com/gostaticanalysis/analysisutil v0.7.1 // indirect 89 | github.com/gostaticanalysis/comment v1.5.0 // indirect 90 | github.com/gostaticanalysis/forcetypeassert v0.2.0 // indirect 91 | github.com/gostaticanalysis/nilerr v0.1.1 // indirect 92 | github.com/hashicorp/go-immutable-radix/v2 v2.1.0 // indirect 93 | github.com/hashicorp/go-version v1.7.0 // indirect 94 | github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect 95 | github.com/hashicorp/hcl v1.0.0 // indirect 96 | github.com/hexops/gotextdiff v1.0.3 // indirect 97 | github.com/inconshreveable/mousetrap v1.1.0 // indirect 98 | github.com/jgautheron/goconst v1.8.1 // indirect 99 | github.com/jingyugao/rowserrcheck v1.1.1 // indirect 100 | github.com/jjti/go-spancheck v0.6.4 // indirect 101 | github.com/julz/importas v0.2.0 // indirect 102 | github.com/karamaru-alpha/copyloopvar v1.2.1 // indirect 103 | github.com/kisielk/errcheck v1.9.0 // indirect 104 | github.com/kkHAIKE/contextcheck v1.1.6 // indirect 105 | github.com/kulti/thelper v0.6.3 // indirect 106 | github.com/kunwardeep/paralleltest v1.0.14 // indirect 107 | github.com/lasiar/canonicalheader v1.1.2 // indirect 108 | github.com/ldez/exptostd v0.4.3 // indirect 109 | github.com/ldez/gomoddirectives v0.6.1 // indirect 110 | github.com/ldez/grignotin v0.9.0 // indirect 111 | github.com/ldez/tagliatelle v0.7.1 // indirect 112 | github.com/ldez/usetesting v0.4.3 // indirect 113 | github.com/leonklingele/grouper v1.1.2 // indirect 114 | github.com/lucasb-eyer/go-colorful v1.2.0 // indirect 115 | github.com/macabu/inamedparam v0.2.0 // indirect 116 | github.com/magiconair/properties v1.8.6 // indirect 117 | github.com/manuelarte/funcorder v0.2.1 // indirect 118 | github.com/maratori/testableexamples v1.0.0 // indirect 119 | github.com/maratori/testpackage v1.1.1 // indirect 120 | github.com/matoous/godox v1.1.0 // indirect 121 | github.com/mattn/go-colorable v0.1.14 // indirect 122 | github.com/mattn/go-isatty v0.0.20 // indirect 123 | github.com/mattn/go-runewidth v0.0.16 // indirect 124 | github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect 125 | github.com/mgechev/revive v1.9.0 // indirect 126 | github.com/mitchellh/go-homedir v1.1.0 // indirect 127 | github.com/mitchellh/mapstructure v1.5.0 // indirect 128 | github.com/moricho/tparallel v0.3.2 // indirect 129 | github.com/muesli/termenv v0.16.0 // indirect 130 | github.com/nakabonne/nestif v0.3.1 // indirect 131 | github.com/nishanths/exhaustive v0.12.0 // indirect 132 | github.com/nishanths/predeclared v0.2.2 // indirect 133 | github.com/nunnatsa/ginkgolinter v0.19.1 // indirect 134 | github.com/olekukonko/tablewriter v0.0.5 // indirect 135 | github.com/pelletier/go-toml v1.9.5 // indirect 136 | github.com/pelletier/go-toml/v2 v2.2.4 // indirect 137 | github.com/pmezard/go-difflib v1.0.0 // indirect 138 | github.com/polyfloyd/go-errorlint v1.8.0 // indirect 139 | github.com/prometheus/client_golang v1.12.1 // indirect 140 | github.com/prometheus/client_model v0.2.0 // indirect 141 | github.com/prometheus/common v0.32.1 // indirect 142 | github.com/prometheus/procfs v0.7.3 // indirect 143 | github.com/quasilyte/go-ruleguard v0.4.4 // indirect 144 | github.com/quasilyte/go-ruleguard/dsl v0.3.22 // indirect 145 | github.com/quasilyte/gogrep v0.5.0 // indirect 146 | github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 // indirect 147 | github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect 148 | github.com/raeperd/recvcheck v0.2.0 // indirect 149 | github.com/rivo/uniseg v0.4.7 // indirect 150 | github.com/rogpeppe/go-internal v1.14.1 // indirect 151 | github.com/ryancurrah/gomodguard v1.4.1 // indirect 152 | github.com/ryanrolds/sqlclosecheck v0.5.1 // indirect 153 | github.com/sanposhiho/wastedassign/v2 v2.1.0 // indirect 154 | github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 // indirect 155 | github.com/sashamelentyev/interfacebloat v1.1.0 // indirect 156 | github.com/sashamelentyev/usestdlibvars v1.28.0 // indirect 157 | github.com/securego/gosec/v2 v2.22.3 // indirect 158 | github.com/sirupsen/logrus v1.9.3 // indirect 159 | github.com/sivchari/containedctx v1.0.3 // indirect 160 | github.com/sivchari/tenv v1.12.1 // indirect 161 | github.com/sonatard/noctx v0.1.0 // indirect 162 | github.com/sourcegraph/go-diff v0.7.0 // indirect 163 | github.com/spf13/afero v1.14.0 // indirect 164 | github.com/spf13/cast v1.5.0 // indirect 165 | github.com/spf13/cobra v1.9.1 // indirect 166 | github.com/spf13/jwalterweatherman v1.1.0 // indirect 167 | github.com/spf13/pflag v1.0.6 // indirect 168 | github.com/spf13/viper v1.12.0 // indirect 169 | github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect 170 | github.com/stbenjam/no-sprintf-host-port v0.2.0 // indirect 171 | github.com/stretchr/objx v0.5.2 // indirect 172 | github.com/stretchr/testify v1.10.0 // indirect 173 | github.com/subosito/gotenv v1.4.1 // indirect 174 | github.com/tdakkota/asciicheck v0.4.1 // indirect 175 | github.com/tetafro/godot v1.5.1 // indirect 176 | github.com/timakin/bodyclose v0.0.0-20241222091800-1db5c5ca4d67 // indirect 177 | github.com/timonwong/loggercheck v0.11.0 // indirect 178 | github.com/tomarrell/wrapcheck/v2 v2.11.0 // indirect 179 | github.com/tommy-muehle/go-mnd/v2 v2.5.1 // indirect 180 | github.com/ultraware/funlen v0.2.0 // indirect 181 | github.com/ultraware/whitespace v0.2.0 // indirect 182 | github.com/uudashr/gocognit v1.2.0 // indirect 183 | github.com/uudashr/iface v1.3.1 // indirect 184 | github.com/xen0n/gosmopolitan v1.3.0 // indirect 185 | github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect 186 | github.com/yagipy/maintidx v1.0.0 // indirect 187 | github.com/yeya24/promlinter v0.3.0 // indirect 188 | github.com/ykadowak/zerologlint v0.1.5 // indirect 189 | gitlab.com/bosi/decorder v0.4.2 // indirect 190 | go-simpler.org/musttag v0.13.1 // indirect 191 | go-simpler.org/sloglint v0.11.0 // indirect 192 | go.augendre.info/fatcontext v0.8.0 // indirect 193 | go.uber.org/atomic v1.7.0 // indirect 194 | go.uber.org/automaxprocs v1.6.0 // indirect 195 | go.uber.org/multierr v1.6.0 // indirect 196 | go.uber.org/zap v1.24.0 // indirect 197 | golang.org/x/exp/typeparams v0.0.0-20250210185358-939b2ce775ac // indirect 198 | golang.org/x/mod v0.24.0 // indirect 199 | golang.org/x/sync v0.13.0 // indirect 200 | golang.org/x/sys v0.32.0 // indirect 201 | golang.org/x/text v0.24.0 // indirect 202 | golang.org/x/tools v0.32.0 // indirect 203 | google.golang.org/protobuf v1.36.6 // indirect 204 | gopkg.in/ini.v1 v1.67.0 // indirect 205 | gopkg.in/yaml.v2 v2.4.0 // indirect 206 | gopkg.in/yaml.v3 v3.0.1 // indirect 207 | honnef.co/go/tools v0.6.1 // indirect 208 | mvdan.cc/gofumpt v0.8.0 // indirect 209 | mvdan.cc/unparam v0.0.0-20250301125049-0df0534333a4 // indirect 210 | ) 211 | -------------------------------------------------------------------------------- /sample-go-tool/sample.go: -------------------------------------------------------------------------------- 1 | // Package main is used as test input for golangci action. 2 | package main 3 | 4 | import ( 5 | "crypto/md5" 6 | "encoding/hex" 7 | "errors" 8 | ) 9 | 10 | // Hash~ 11 | func Hash(data string) string { 12 | retError() 13 | retError2() 14 | 15 | h := md5.New() 16 | h.Write([]byte(data)) 17 | return hex.EncodeToString(h.Sum(nil)) 18 | } 19 | 20 | func retError() error { 21 | return errors.New("err") 22 | } 23 | 24 | func retError2() error { 25 | return errors.New("err2") 26 | } 27 | -------------------------------------------------------------------------------- /sample/sample.go: -------------------------------------------------------------------------------- 1 | // Package sample is used as test input for golangci action. 2 | package sample 3 | 4 | import ( 5 | "crypto/md5" 6 | "encoding/hex" 7 | "errors" 8 | ) 9 | 10 | // Hash~ 11 | func Hash(data string) string { 12 | retError() 13 | retError2() 14 | 15 | h := md5.New() 16 | h.Write([]byte(data)) 17 | return hex.EncodeToString(h.Sum(nil)) 18 | } 19 | 20 | func retError() error { 21 | return errors.New("err") 22 | } 23 | 24 | func retError2() error { 25 | return errors.New("err2") 26 | } 27 | -------------------------------------------------------------------------------- /src/cache.ts: -------------------------------------------------------------------------------- 1 | import * as cache from "@actions/cache" 2 | import * as core from "@actions/core" 3 | import * as crypto from "crypto" 4 | import * as fs from "fs" 5 | import path from "path" 6 | 7 | import { Events, State } from "./constants" 8 | import * as utils from "./utils/actionUtils" 9 | 10 | function checksumFile(hashName: string, path: string): Promise { 11 | return new Promise((resolve, reject) => { 12 | const hash = crypto.createHash(hashName) 13 | const stream = fs.createReadStream(path) 14 | stream.on("error", (err) => reject(err)) 15 | stream.on("data", (chunk) => hash.update(chunk)) 16 | stream.on("end", () => resolve(hash.digest("hex"))) 17 | }) 18 | } 19 | 20 | const pathExists = async (path: string): Promise => !!(await fs.promises.stat(path).catch(() => false)) 21 | 22 | const getLintCacheDir = (): string => { 23 | const home = process.platform === "win32" ? process.env.USERPROFILE : process.env.HOME 24 | 25 | return path.resolve(`${home}`, `.cache`, `golangci-lint`) 26 | } 27 | 28 | const getIntervalKey = (invalidationIntervalDays: number): string => { 29 | const now = new Date() 30 | 31 | if (invalidationIntervalDays <= 0) { 32 | return `${now.getTime()}` 33 | } 34 | 35 | const secondsSinceEpoch = now.getTime() / 1000 36 | const intervalNumber = Math.floor(secondsSinceEpoch / (invalidationIntervalDays * 86400)) 37 | return intervalNumber.toString() 38 | } 39 | 40 | async function buildCacheKeys(): Promise { 41 | const keys = [] 42 | 43 | // Cache by OS. 44 | let cacheKey = `golangci-lint.cache-${process.env?.RUNNER_OS}-` 45 | 46 | // Get working directory from input 47 | const workingDirectory = core.getInput(`working-directory`) 48 | 49 | if (workingDirectory) { 50 | cacheKey += `${workingDirectory}-` 51 | } 52 | 53 | // Periodically invalidate a cache because a new code being added. 54 | const invalidationIntervalDays = parseInt(core.getInput(`cache-invalidation-interval`, { required: true }).trim()) 55 | cacheKey += `${getIntervalKey(invalidationIntervalDays)}-` 56 | 57 | keys.push(cacheKey) 58 | 59 | // create path to go.mod prepending the workingDirectory if it exists 60 | const goModPath = path.join(workingDirectory, `go.mod`) 61 | 62 | core.info(`Checking for go.mod: ${goModPath}`) 63 | 64 | if (await pathExists(goModPath)) { 65 | // Add checksum to key to invalidate a cache when dependencies change. 66 | cacheKey += await checksumFile(`sha1`, goModPath) 67 | } else { 68 | cacheKey += `nogomod` 69 | } 70 | 71 | keys.push(cacheKey) 72 | 73 | return keys 74 | } 75 | 76 | export async function restoreCache(): Promise { 77 | if (core.getBooleanInput(`skip-cache`, { required: true })) return 78 | 79 | if (!utils.isValidEvent()) { 80 | utils.logWarning( 81 | `Event Validation Error: The event type ${process.env[Events.Key]} is not supported because it's not tied to a branch or tag ref.` 82 | ) 83 | return 84 | } 85 | 86 | const startedAt = Date.now() 87 | 88 | const keys = await buildCacheKeys() 89 | const primaryKey = keys.pop() 90 | const restoreKeys = keys.reverse() 91 | 92 | // Tell golangci-lint to use our cache directory. 93 | process.env.GOLANGCI_LINT_CACHE = getLintCacheDir() 94 | 95 | if (!primaryKey) { 96 | utils.logWarning(`Invalid primary key`) 97 | return 98 | } 99 | core.saveState(State.CachePrimaryKey, primaryKey) 100 | try { 101 | const cacheKey = await cache.restoreCache([getLintCacheDir()], primaryKey, restoreKeys) 102 | if (!cacheKey) { 103 | core.info(`Cache not found for input keys: ${[primaryKey, ...restoreKeys].join(", ")}`) 104 | return 105 | } 106 | // Store the matched cache key 107 | utils.setCacheState(cacheKey) 108 | core.info(`Restored cache for golangci-lint from key '${primaryKey}' in ${Date.now() - startedAt}ms`) 109 | } catch (error) { 110 | if (error.name === cache.ValidationError.name) { 111 | throw error 112 | } else { 113 | core.warning(error.message) 114 | } 115 | } 116 | } 117 | 118 | export async function saveCache(): Promise { 119 | if (core.getBooleanInput(`skip-cache`, { required: true })) return 120 | if (core.getBooleanInput(`skip-save-cache`, { required: true })) return 121 | 122 | // Validate inputs, this can cause task failure 123 | if (!utils.isValidEvent()) { 124 | utils.logWarning( 125 | `Event Validation Error: The event type ${process.env[Events.Key]} is not supported because it's not tied to a branch or tag ref.` 126 | ) 127 | return 128 | } 129 | 130 | const startedAt = Date.now() 131 | 132 | const cacheDirs = [getLintCacheDir()] 133 | const primaryKey = core.getState(State.CachePrimaryKey) 134 | if (!primaryKey) { 135 | utils.logWarning(`Error retrieving key from state.`) 136 | return 137 | } 138 | 139 | const state = utils.getCacheState() 140 | 141 | if (utils.isExactKeyMatch(primaryKey, state)) { 142 | core.info(`Cache hit occurred on the primary key ${primaryKey}, not saving cache.`) 143 | return 144 | } 145 | 146 | try { 147 | await cache.saveCache(cacheDirs, primaryKey) 148 | core.info(`Saved cache for golangci-lint from paths '${cacheDirs.join(`, `)}' in ${Date.now() - startedAt}ms`) 149 | } catch (error) { 150 | if (error.name === cache.ValidationError.name) { 151 | throw error 152 | } else if (error.name === cache.ReserveCacheError.name) { 153 | core.info(error.message) 154 | } else { 155 | core.info(`[warning] ${error.message}`) 156 | } 157 | } 158 | } 159 | -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- 1 | export enum Inputs { 2 | Key = "key", 3 | Path = "path", 4 | RestoreKeys = "restore-keys", 5 | } 6 | 7 | export enum State { 8 | CachePrimaryKey = "CACHE_KEY", 9 | CacheMatchedKey = "CACHE_RESULT", 10 | } 11 | 12 | export enum Events { 13 | Key = "GITHUB_EVENT_NAME", 14 | Push = "push", 15 | PullRequest = "pull_request", 16 | } 17 | 18 | export const RefKey = "GITHUB_REF" 19 | -------------------------------------------------------------------------------- /src/deps.d.ts: -------------------------------------------------------------------------------- 1 | declare module "cache/lib/restore" { 2 | function run(): Promise 3 | export default run 4 | } 5 | 6 | declare module "cache/lib/save" { 7 | function run(): Promise 8 | export default run 9 | } 10 | -------------------------------------------------------------------------------- /src/install.ts: -------------------------------------------------------------------------------- 1 | import * as core from "@actions/core" 2 | import * as tc from "@actions/tool-cache" 3 | import { exec, ExecOptions } from "child_process" 4 | import os from "os" 5 | import path from "path" 6 | import { promisify } from "util" 7 | import which from "which" 8 | 9 | import { getVersion, VersionInfo } from "./version" 10 | 11 | const execShellCommand = promisify(exec) 12 | 13 | export enum InstallMode { 14 | Binary = "binary", 15 | GoInstall = "goinstall", 16 | None = "none", 17 | } 18 | 19 | type ExecRes = { 20 | stdout: string 21 | stderr: string 22 | } 23 | 24 | const printOutput = (res: ExecRes): void => { 25 | if (res.stdout) { 26 | core.info(res.stdout) 27 | } 28 | if (res.stderr) { 29 | core.info(res.stderr) 30 | } 31 | } 32 | 33 | /** 34 | * Install golangci-lint. 35 | * 36 | * @returns path to installed binary of golangci-lint. 37 | */ 38 | export async function install(): Promise { 39 | const mode = core.getInput("install-mode").toLowerCase() 40 | 41 | if (mode === InstallMode.None) { 42 | const binPath = await which("golangci-lint", { nothrow: true }) 43 | if (!binPath) { 44 | throw new Error("golangci-lint binary not found in the PATH") 45 | } 46 | return binPath 47 | } 48 | 49 | const versionInfo = await getVersion(mode) 50 | 51 | return await installBinary(versionInfo, mode) 52 | } 53 | 54 | /** 55 | * Install golangci-lint. 56 | * 57 | * @param versionInfo information about version to install. 58 | * @param mode installation mode. 59 | * @returns path to installed binary of golangci-lint. 60 | */ 61 | export async function installBinary(versionInfo: VersionInfo, mode: InstallMode): Promise { 62 | core.info(`Installation mode: ${mode}`) 63 | 64 | switch (mode) { 65 | case InstallMode.Binary: 66 | return installBin(versionInfo) 67 | case InstallMode.GoInstall: 68 | return goInstall(versionInfo) 69 | default: 70 | return installBin(versionInfo) 71 | } 72 | } 73 | 74 | /** 75 | * Install golangci-lint via `go install`. 76 | * 77 | * @param versionInfo information about version to install. 78 | * @returns path to installed binary of golangci-lint. 79 | */ 80 | async function goInstall(versionInfo: VersionInfo): Promise { 81 | core.info(`Installing golangci-lint ${versionInfo.TargetVersion}...`) 82 | 83 | const startedAt = Date.now() 84 | 85 | const options: ExecOptions = { env: { ...process.env, CGO_ENABLED: "1" } } 86 | 87 | const exres = await execShellCommand( 88 | `go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@${versionInfo.TargetVersion}`, 89 | options 90 | ) 91 | printOutput(exres) 92 | 93 | const res = await execShellCommand( 94 | `go install -n github.com/golangci/golangci-lint/v2/cmd/golangci-lint@${versionInfo.TargetVersion}`, 95 | options 96 | ) 97 | printOutput(res) 98 | 99 | // The output of `go install -n` when the binary is already installed is `touch `. 100 | const binPath = res.stderr 101 | .split(/\r?\n/) 102 | .map((v) => v.trimStart().trimEnd()) 103 | .filter((v) => v.startsWith("touch ")) 104 | .reduce((a, b) => a + b, "") 105 | .split(` `, 2)[1] 106 | 107 | core.info(`Installed golangci-lint into ${binPath} in ${Date.now() - startedAt}ms`) 108 | 109 | return binPath 110 | } 111 | 112 | /** 113 | * Install golangci-lint via the precompiled binary. 114 | * 115 | * @param versionInfo information about version to install. 116 | * @returns path to installed binary of golangci-lint. 117 | */ 118 | async function installBin(versionInfo: VersionInfo): Promise { 119 | core.info(`Installing golangci-lint binary ${versionInfo.TargetVersion}...`) 120 | 121 | const startedAt = Date.now() 122 | 123 | const assetURL = getAssetURL(versionInfo) 124 | 125 | core.info(`Downloading binary ${assetURL} ...`) 126 | 127 | const archivePath = await tc.downloadTool(assetURL) 128 | 129 | let extractedDir = "" 130 | let repl = /\.tar\.gz$/ 131 | if (assetURL.endsWith("zip")) { 132 | extractedDir = await tc.extractZip(archivePath, process.env.HOME) 133 | repl = /\.zip$/ 134 | } else { 135 | // We want to always overwrite files if the local cache already has them 136 | const args = ["xz"] 137 | if (process.platform.toString() != "darwin") { 138 | args.push("--overwrite") 139 | } 140 | extractedDir = await tc.extractTar(archivePath, process.env.HOME, args) 141 | } 142 | 143 | const urlParts = assetURL.split(`/`) 144 | const dirName = urlParts[urlParts.length - 1].replace(repl, ``) 145 | const binPath = path.join(extractedDir, dirName, `golangci-lint`) 146 | 147 | core.info(`Installed golangci-lint into ${binPath} in ${Date.now() - startedAt}ms`) 148 | 149 | return binPath 150 | } 151 | 152 | function getAssetURL(versionInfo: VersionInfo): string { 153 | let ext = "tar.gz" 154 | 155 | let platform = os.platform().toString() 156 | switch (platform) { 157 | case "win32": 158 | platform = "windows" 159 | ext = "zip" 160 | break 161 | } 162 | 163 | let arch = os.arch() 164 | switch (arch) { 165 | case "arm64": 166 | arch = "arm64" 167 | break 168 | case "x64": 169 | arch = "amd64" 170 | break 171 | case "x32": 172 | case "ia32": 173 | arch = "386" 174 | break 175 | } 176 | 177 | const noPrefix = versionInfo.TargetVersion.slice(1) 178 | 179 | return `https://github.com/golangci/golangci-lint/releases/download/${versionInfo.TargetVersion}/golangci-lint-${noPrefix}-${platform}-${arch}.${ext}` 180 | } 181 | -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- 1 | import { run } from "./run" 2 | 3 | run() 4 | -------------------------------------------------------------------------------- /src/patch.ts: -------------------------------------------------------------------------------- 1 | import * as core from "@actions/core" 2 | import * as github from "@actions/github" 3 | import { Context } from "@actions/github/lib/context" 4 | import * as pluginRetry from "@octokit/plugin-retry" 5 | import fs from "fs" 6 | import path from "path" 7 | import { dir } from "tmp" 8 | import { promisify } from "util" 9 | 10 | import { alterDiffPatch } from "./utils/diffUtils" 11 | 12 | const writeFile = promisify(fs.writeFile) 13 | const createTempDir = promisify(dir) 14 | 15 | export function isOnlyNewIssues(): boolean { 16 | return core.getBooleanInput(`only-new-issues`, { required: true }) 17 | } 18 | 19 | export async function fetchPatch(): Promise { 20 | if (!isOnlyNewIssues()) { 21 | return `` 22 | } 23 | 24 | const ctx = github.context 25 | 26 | switch (ctx.eventName) { 27 | case `pull_request`: 28 | case `pull_request_target`: 29 | return await fetchPullRequestPatch(ctx) 30 | case `push`: 31 | return await fetchPushPatch(ctx) 32 | case `merge_group`: 33 | return `` 34 | default: 35 | core.info(`Not fetching patch for showing only new issues because it's not a pull request context: event name is ${ctx.eventName}`) 36 | return `` 37 | } 38 | } 39 | 40 | async function fetchPullRequestPatch(ctx: Context): Promise { 41 | const pr = ctx.payload.pull_request 42 | if (!pr) { 43 | core.warning(`No pull request in context`) 44 | return `` 45 | } 46 | 47 | const octokit = github.getOctokit(core.getInput(`github-token`, { required: true }), {}, pluginRetry.retry) 48 | 49 | let patch: string 50 | try { 51 | const patchResp = await octokit.rest.pulls.get({ 52 | owner: ctx.repo.owner, 53 | repo: ctx.repo.repo, 54 | [`pull_number`]: pr.number, 55 | mediaType: { 56 | format: `diff`, 57 | }, 58 | }) 59 | 60 | if (patchResp.status !== 200) { 61 | core.warning(`failed to fetch pull request patch: response status is ${patchResp.status}`) 62 | return `` // don't fail the action, but analyze without patch 63 | } 64 | 65 | // eslint-disable-next-line @typescript-eslint/no-explicit-any 66 | patch = patchResp.data as any 67 | } catch (err) { 68 | console.warn(`failed to fetch pull request patch:`, err) 69 | return `` // don't fail the action, but analyze without patch 70 | } 71 | 72 | try { 73 | const tempDir = await createTempDir() 74 | const patchPath = path.join(tempDir, "pull.patch") 75 | core.info(`Writing patch to ${patchPath}`) 76 | await writeFile(patchPath, alterDiffPatch(patch)) 77 | return patchPath 78 | } catch (err) { 79 | console.warn(`failed to save pull request patch:`, err) 80 | return `` // don't fail the action, but analyze without patch 81 | } 82 | } 83 | 84 | async function fetchPushPatch(ctx: Context): Promise { 85 | const octokit = github.getOctokit(core.getInput(`github-token`, { required: true }), {}, pluginRetry.retry) 86 | 87 | let patch: string 88 | try { 89 | const patchResp = await octokit.rest.repos.compareCommitsWithBasehead({ 90 | owner: ctx.repo.owner, 91 | repo: ctx.repo.repo, 92 | basehead: `${ctx.payload.before}...${ctx.payload.after}`, 93 | mediaType: { 94 | format: `diff`, 95 | }, 96 | }) 97 | 98 | if (patchResp.status !== 200) { 99 | core.warning(`failed to fetch push patch: response status is ${patchResp.status}`) 100 | return `` // don't fail the action, but analyze without patch 101 | } 102 | 103 | // eslint-disable-next-line @typescript-eslint/no-explicit-any 104 | patch = patchResp.data as any 105 | } catch (err) { 106 | console.warn(`failed to fetch push patch:`, err) 107 | return `` // don't fail the action, but analyze without patch 108 | } 109 | 110 | try { 111 | const tempDir = await createTempDir() 112 | const patchPath = path.join(tempDir, "push.patch") 113 | core.info(`Writing patch to ${patchPath}`) 114 | await writeFile(patchPath, alterDiffPatch(patch)) 115 | return patchPath 116 | } catch (err) { 117 | console.warn(`failed to save pull request patch:`, err) 118 | return `` // don't fail the action, but analyze without patch 119 | } 120 | } 121 | -------------------------------------------------------------------------------- /src/post_main.ts: -------------------------------------------------------------------------------- 1 | import { postRun } from "./run" 2 | 3 | postRun() 4 | -------------------------------------------------------------------------------- /src/run.ts: -------------------------------------------------------------------------------- 1 | import * as core from "@actions/core" 2 | import * as github from "@actions/github" 3 | import { exec, ExecOptions } from "child_process" 4 | import * as fs from "fs" 5 | import * as path from "path" 6 | import { promisify } from "util" 7 | 8 | import { restoreCache, saveCache } from "./cache" 9 | import { install } from "./install" 10 | import { fetchPatch, isOnlyNewIssues } from "./patch" 11 | 12 | const execShellCommand = promisify(exec) 13 | 14 | type Env = { 15 | binPath: string 16 | patchPath: string 17 | } 18 | 19 | async function prepareEnv(): Promise { 20 | const startedAt = Date.now() 21 | 22 | // Prepare cache, lint and go in parallel. 23 | await restoreCache() 24 | 25 | const binPath = await install() 26 | const patchPath = await fetchPatch() 27 | 28 | core.info(`Prepared env in ${Date.now() - startedAt}ms`) 29 | 30 | return { binPath, patchPath } 31 | } 32 | 33 | type ExecRes = { 34 | stdout: string 35 | stderr: string 36 | } 37 | 38 | const printOutput = (res: ExecRes): void => { 39 | if (res.stdout) { 40 | core.info(res.stdout) 41 | } 42 | if (res.stderr) { 43 | core.info(res.stderr) 44 | } 45 | } 46 | 47 | async function runLint(binPath: string, patchPath: string): Promise { 48 | const debug = core.getInput(`debug`) 49 | if (debug.split(`,`).includes(`cache`)) { 50 | const res = await execShellCommand(`${binPath} cache status`) 51 | printOutput(res) 52 | } 53 | 54 | const userArgs = core.getInput(`args`) 55 | const addedArgs: string[] = [] 56 | 57 | const userArgsList = userArgs 58 | .trim() 59 | .split(/\s+/) 60 | .filter((arg) => arg.startsWith(`-`)) 61 | .map((arg) => arg.replace(/^-+/, ``)) 62 | .map((arg) => arg.split(/=(.*)/, 2)) 63 | .map<[string, string]>(([key, value]) => [key.toLowerCase(), value ?? ""]) 64 | 65 | const userArgsMap = new Map(userArgsList) 66 | const userArgNames = new Set(userArgsList.map(([key]) => key)) 67 | 68 | const problemMatchers = core.getBooleanInput(`problem-matchers`) 69 | 70 | if (problemMatchers) { 71 | const matchersPath = path.join(__dirname, "../..", "problem-matchers.json") 72 | if (fs.existsSync(matchersPath)) { 73 | // Adds problem matchers. 74 | // https://github.com/actions/setup-go/blob/cdcb36043654635271a94b9a6d1392de5bb323a7/src/main.ts#L81-L83 75 | core.info(`##[add-matcher]${matchersPath}`) 76 | } 77 | } 78 | 79 | if (isOnlyNewIssues()) { 80 | if ( 81 | userArgNames.has(`new`) || 82 | userArgNames.has(`new-from-rev`) || 83 | userArgNames.has(`new-from-patch`) || 84 | userArgNames.has(`new-from-merge-base`) 85 | ) { 86 | throw new Error(`please, don't specify manually --new* args when requesting only new issues`) 87 | } 88 | 89 | const ctx = github.context 90 | 91 | core.info(`only new issues on ${ctx.eventName}: ${patchPath}`) 92 | 93 | switch (ctx.eventName) { 94 | case `pull_request`: 95 | case `pull_request_target`: 96 | case `push`: 97 | if (patchPath) { 98 | addedArgs.push(`--new-from-patch=${patchPath}`) 99 | 100 | // Override config values. 101 | addedArgs.push(`--new=false`) 102 | addedArgs.push(`--new-from-rev=`) 103 | addedArgs.push(`--new-from-merge-base=`) 104 | } 105 | break 106 | case `merge_group`: 107 | addedArgs.push(`--new-from-rev=${ctx.payload.merge_group.base_sha}`) 108 | 109 | // Override config values. 110 | addedArgs.push(`--new=false`) 111 | addedArgs.push(`--new-from-patch=`) 112 | addedArgs.push(`--new-from-merge-base=`) 113 | break 114 | default: 115 | break 116 | } 117 | } 118 | 119 | const cmdArgs: ExecOptions = {} 120 | 121 | const workingDirectory = core.getInput(`working-directory`) 122 | if (workingDirectory) { 123 | if (!fs.existsSync(workingDirectory) || !fs.lstatSync(workingDirectory).isDirectory()) { 124 | throw new Error(`working-directory (${workingDirectory}) was not a path`) 125 | } 126 | 127 | if (!userArgNames.has(`path-prefix`) && !userArgNames.has(`path-mode`)) { 128 | addedArgs.push(`--path-mode=abs`) 129 | } 130 | 131 | cmdArgs.cwd = path.resolve(workingDirectory) 132 | } 133 | 134 | await runVerify(binPath, userArgsMap, cmdArgs) 135 | 136 | const cmd = `${binPath} run ${addedArgs.join(` `)} ${userArgs}`.trimEnd() 137 | 138 | core.info(`Running [${cmd}] in [${cmdArgs.cwd || process.cwd()}] ...`) 139 | 140 | const startedAt = Date.now() 141 | try { 142 | const res = await execShellCommand(cmd, cmdArgs) 143 | printOutput(res) 144 | core.info(`golangci-lint found no issues`) 145 | } catch (exc) { 146 | // This logging passes issues to GitHub annotations but comments can be more convenient for some users. 147 | printOutput(exc) 148 | 149 | if (exc.code === 1) { 150 | core.setFailed(`issues found`) 151 | } else { 152 | core.setFailed(`golangci-lint exit with code ${exc.code}`) 153 | } 154 | } 155 | 156 | core.info(`Ran golangci-lint in ${Date.now() - startedAt}ms`) 157 | } 158 | 159 | async function runVerify(binPath: string, userArgsMap: Map, cmdArgs: ExecOptions): Promise { 160 | const verify = core.getBooleanInput(`verify`, { required: true }) 161 | if (!verify) { 162 | return 163 | } 164 | 165 | const cfgPath = await getConfigPath(binPath, userArgsMap, cmdArgs) 166 | if (!cfgPath) { 167 | return 168 | } 169 | 170 | let cmdVerify = `${binPath} config verify` 171 | if (userArgsMap.get("config")) { 172 | cmdVerify += ` --config=${userArgsMap.get("config")}` 173 | } 174 | 175 | core.info(`Running [${cmdVerify}] in [${cmdArgs.cwd || process.cwd()}] ...`) 176 | 177 | const res = await execShellCommand(cmdVerify, cmdArgs) 178 | printOutput(res) 179 | } 180 | 181 | async function getConfigPath(binPath: string, userArgsMap: Map, cmdArgs: ExecOptions): Promise { 182 | let cmdConfigPath = `${binPath} config path` 183 | if (userArgsMap.get("config")) { 184 | cmdConfigPath += ` --config=${userArgsMap.get("config")}` 185 | } 186 | 187 | core.info(`Running [${cmdConfigPath}] in [${cmdArgs.cwd || process.cwd()}] ...`) 188 | 189 | try { 190 | const resPath = await execShellCommand(cmdConfigPath, cmdArgs) 191 | return resPath.stderr.trim() 192 | } catch { 193 | return `` 194 | } 195 | } 196 | 197 | export async function run(): Promise { 198 | try { 199 | const { binPath, patchPath } = await core.group(`prepare environment`, prepareEnv) 200 | core.addPath(path.dirname(binPath)) 201 | await core.group(`run golangci-lint`, () => runLint(binPath, patchPath)) 202 | } catch (error) { 203 | core.error(`Failed to run: ${error}, ${error.stack}`) 204 | core.setFailed(error.message) 205 | } 206 | } 207 | 208 | export async function postRun(): Promise { 209 | try { 210 | await saveCache() 211 | } catch (error) { 212 | core.error(`Failed to post-run: ${error}, ${error.stack}`) 213 | core.setFailed(error.message) 214 | } 215 | } 216 | -------------------------------------------------------------------------------- /src/utils/actionUtils.ts: -------------------------------------------------------------------------------- 1 | import * as core from "@actions/core" 2 | 3 | import { RefKey, State } from "../constants" 4 | 5 | export function isExactKeyMatch(key: string, cacheKey?: string): boolean { 6 | return !!( 7 | cacheKey && 8 | cacheKey.localeCompare(key, undefined, { 9 | sensitivity: "accent", 10 | }) === 0 11 | ) 12 | } 13 | 14 | export function setCacheState(state: string): void { 15 | core.saveState(State.CacheMatchedKey, state) 16 | } 17 | 18 | export function getCacheState(): string | undefined { 19 | const cacheKey = core.getState(State.CacheMatchedKey) 20 | if (cacheKey) { 21 | core.debug(`Cache state/key: ${cacheKey}`) 22 | return cacheKey 23 | } 24 | 25 | return undefined 26 | } 27 | 28 | export function logWarning(message: string): void { 29 | const warningPrefix = "[warning]" 30 | core.info(`${warningPrefix}${message}`) 31 | } 32 | 33 | // Cache token authorized for all events that are tied to a ref 34 | // See GitHub Context https://help.github.com/actions/automating-your-workflow-with-github-actions/contexts-and-expression-syntax-for-github-actions#github-context 35 | export function isValidEvent(): boolean { 36 | return RefKey in process.env && Boolean(process.env[RefKey]) 37 | } 38 | -------------------------------------------------------------------------------- /src/utils/diffUtils.ts: -------------------------------------------------------------------------------- 1 | import * as core from "@actions/core" 2 | import * as path from "path" 3 | 4 | // If needed alter diff file to be compatible with working directory 5 | export function alterDiffPatch(patch: string): string { 6 | const workingDirectory = core.getInput(`working-directory`) 7 | 8 | if (workingDirectory) { 9 | return alterPatchWithWorkingDirectory(patch, workingDirectory) 10 | } 11 | 12 | return patch 13 | } 14 | 15 | function alterPatchWithWorkingDirectory(patch: string, workingDirectory: string): string { 16 | const workspace = process.env["GITHUB_WORKSPACE"] || "" 17 | 18 | const wd = path.relative(workspace, workingDirectory) 19 | 20 | // ignore diff sections not related to the working directory 21 | let ignore = false 22 | 23 | const lines = patch.split("\n") 24 | const filteredLines = [] 25 | 26 | // starts with "--- a/xxx/" or "+++ a/xxx/" or "--- b/xxx/" or "+++ b/xxx/" 27 | const cleanDiff = new RegExp(`^((?:\\+{3}|-{3}) [ab]\\/)${escapeRegExp(wd)}\\/(.*)`, "gm") 28 | 29 | // contains " a/xxx/" or " b/xxx/" 30 | const firstLine = new RegExp(`( [ab]\\/)${escapeRegExp(wd)}\\/(.*)`, "gm") 31 | 32 | for (const line of lines) { 33 | if (line.startsWith("diff --git")) { 34 | ignore = !line.includes(` a/${wd}/`) 35 | if (ignore) { 36 | continue 37 | } 38 | 39 | filteredLines.push(line.replaceAll(firstLine, "$1$2")) 40 | } else { 41 | if (ignore) { 42 | continue 43 | } 44 | 45 | filteredLines.push(line.replaceAll(cleanDiff, "$1$2")) 46 | } 47 | } 48 | 49 | // Join the modified lines back into a diff string 50 | return filteredLines.join("\n") 51 | } 52 | 53 | // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions 54 | function escapeRegExp(exp: string): string { 55 | return exp.replace(/[.*+?^${}()|[\]\\]/g, "\\$&") // $& means the whole matched string 56 | } 57 | -------------------------------------------------------------------------------- /src/version.ts: -------------------------------------------------------------------------------- 1 | import * as core from "@actions/core" 2 | import * as httpm from "@actions/http-client" 3 | import * as fs from "fs" 4 | import path from "path" 5 | 6 | import { InstallMode } from "./install" 7 | 8 | // TODO: make a class 9 | export type Version = { 10 | major: number 11 | minor: number 12 | patch: number | null 13 | } | null 14 | 15 | const versionRe = /^v(\d+)\.(\d+)(?:\.(\d+))?$/ 16 | const modVersionRe = /github.com\/golangci\/golangci-lint\/v2\s(v\S+)/ 17 | 18 | const parseVersion = (s: string): Version => { 19 | if (s == "latest" || s == "") { 20 | return null 21 | } 22 | 23 | const match = s.match(versionRe) 24 | if (!match) { 25 | throw new Error(`invalid version string '${s}', expected format v1.2 or v1.2.3`) 26 | } 27 | 28 | if (parseInt(match[1]) !== 2) { 29 | throw new Error(`invalid version string '${s}', golangci-lint v${match[1]} is not supported by golangci-lint-action >= v7.`) 30 | } 31 | 32 | return { 33 | major: parseInt(match[1]), 34 | minor: parseInt(match[2]), 35 | patch: match[3] === undefined ? null : parseInt(match[3]), 36 | } 37 | } 38 | 39 | export const stringifyVersion = (v: Version): string => { 40 | if (v == null) { 41 | return "latest" 42 | } 43 | return `v${v.major}.${v.minor}${v.patch !== null ? `.${v.patch}` : ``}` 44 | } 45 | 46 | const minVersion = { 47 | major: 2, 48 | minor: 1, 49 | patch: 0, 50 | } 51 | 52 | const isLessVersion = (a: Version, b: Version): boolean => { 53 | if (a == null) { 54 | return true 55 | } 56 | if (b == null) { 57 | return false 58 | } 59 | if (a.major != b.major) { 60 | return a.major < b.major 61 | } 62 | 63 | // Do not compare patch parts because if the min version has a non-zero value 64 | // then it returns false, since the patch version of requested is always zero 65 | return a.minor < b.minor 66 | } 67 | 68 | const getRequestedVersion = (): Version => { 69 | let requestedVersion = core.getInput(`version`) 70 | const workingDirectory = core.getInput(`working-directory`) 71 | 72 | let goMod = "go.mod" 73 | if (workingDirectory) { 74 | goMod = path.join(workingDirectory, goMod) 75 | } 76 | 77 | if (requestedVersion == "" && fs.existsSync(goMod)) { 78 | const content = fs.readFileSync(goMod, "utf-8") 79 | const match = content.match(modVersionRe) 80 | if (match) { 81 | requestedVersion = match[1] 82 | core.info(`Found golangci-lint version '${requestedVersion}' in '${goMod}' file`) 83 | } 84 | } 85 | 86 | const parsedRequestedVersion = parseVersion(requestedVersion) 87 | if (parsedRequestedVersion == null) { 88 | return null 89 | } 90 | 91 | if (isLessVersion(parsedRequestedVersion, minVersion)) { 92 | throw new Error( 93 | `requested golangci-lint version '${requestedVersion}' isn't supported: we support only ${stringifyVersion( 94 | minVersion 95 | )} and later versions` 96 | ) 97 | } 98 | 99 | return parsedRequestedVersion 100 | } 101 | 102 | export type VersionInfo = { 103 | Error?: string 104 | TargetVersion: string 105 | } 106 | 107 | type VersionMapping = { 108 | MinorVersionToConfig: { 109 | [minorVersion: string]: VersionInfo 110 | } 111 | } 112 | 113 | const fetchVersionMapping = async (): Promise => { 114 | const http = new httpm.HttpClient(`golangci/golangci-lint-action`, [], { 115 | allowRetries: true, 116 | maxRetries: 5, 117 | }) 118 | try { 119 | const url = `https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/assets/github-action-config-v2.json` 120 | const response: httpm.HttpClientResponse = await http.get(url) 121 | if (response.message.statusCode !== 200) { 122 | throw new Error(`failed to download from "${url}". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`) 123 | } 124 | 125 | const body = await response.readBody() 126 | return JSON.parse(body) 127 | } catch (exc) { 128 | throw new Error(`failed to get action config: ${exc.message}`) 129 | } 130 | } 131 | 132 | export async function getVersion(mode: InstallMode): Promise { 133 | core.info(`Finding needed golangci-lint version...`) 134 | 135 | if (mode == InstallMode.GoInstall) { 136 | const v: string = core.getInput(`version`) 137 | 138 | return { TargetVersion: v ? v : "latest" } 139 | } 140 | 141 | const reqVersion = getRequestedVersion() 142 | 143 | // if the patched version is passed, just use it 144 | if (reqVersion?.major === 2 && reqVersion?.minor != null && reqVersion?.patch !== null) { 145 | return new Promise((resolve) => { 146 | const versionWithoutV = `${reqVersion.major}.${reqVersion.minor}.${reqVersion.patch}` 147 | resolve({ TargetVersion: `v${versionWithoutV}` }) 148 | }) 149 | } 150 | 151 | const startedAt = Date.now() 152 | 153 | const mapping = await fetchVersionMapping() 154 | if (!mapping.MinorVersionToConfig) { 155 | core.warning(JSON.stringify(mapping)) 156 | throw new Error(`invalid config: no MinorVersionToConfig field`) 157 | } 158 | 159 | const versionInfo = mapping.MinorVersionToConfig[stringifyVersion(reqVersion)] 160 | if (!versionInfo) { 161 | throw new Error(`requested golangci-lint version '${stringifyVersion(reqVersion)}' doesn't exist`) 162 | } 163 | 164 | if (versionInfo.Error) { 165 | throw new Error(`failed to use requested golangci-lint version '${stringifyVersion(reqVersion)}': ${versionInfo.Error}`) 166 | } 167 | 168 | core.info( 169 | `Requested golangci-lint '${stringifyVersion(reqVersion)}', using '${versionInfo.TargetVersion}', calculation took ${ 170 | Date.now() - startedAt 171 | }ms` 172 | ) 173 | 174 | return versionInfo 175 | } 176 | -------------------------------------------------------------------------------- /static/annotations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-lint-action/5286ed6a0851c6869b5bce32518201fef4ca2173/static/annotations.png -------------------------------------------------------------------------------- /static/colored-line-number.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/golangci/golangci-lint-action/5286ed6a0851c6869b5bce32518201fef4ca2173/static/colored-line-number.png -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES2021", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ 4 | "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ 5 | "outDir": "./lib", /* Redirect output structure to the directory. */ 6 | "rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ 7 | "strict": true, /* Enable all strict type-checking options. */ 8 | "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ 9 | "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ 10 | "tsBuildInfoFile": ".tsbuildinfo", 11 | "incremental": true, 12 | "useUnknownInCatchVariables": false 13 | }, 14 | "exclude": ["node_modules", "**/*.test.ts"] 15 | } 16 | --------------------------------------------------------------------------------