alingse / go-linter-runner

use github action to run go linter for public repos
Other
2 stars 1 forks source link

Run Linter alingse-makezero.yaml For Top 1w github golang repo #1

Open alingse opened 4 months ago

alingse commented 4 months ago

The job config yaml https://github.com/alingse/go-linter-runner/blob/main/jobs/alingse-makezero.yaml

name: alingse-makezero
linter: makezero
workdir: .
install: go install github.com/alingse/makezero@f6a823578e89de5cdfdfef50d4a5d9a09ade16dd
includes:
  - non-zero initialized length
excludes:
  - called by funcs
  - assigned by index

Real Bugs

  1. https://github.com/milvus-io/milvus/pull/33386
  2. https://github.com/google/pprof/pull/867
  3. https://github.com/kubernetes/kubernetes/pull/125132
  4. https://github.com/gogs/gogs/pull/7752
  5. https://github.com/brianvoe/gofakeit/pull/358
  6. https://github.com/nuclio/nuclio/pull/3251
  7. https://github.com/goodrain/rainbond/pull/1921
  8. https://github.com/apache/dubbo-go/pull/2682
  9. https://github.com/kubernetes/test-infra/pull/32662
  10. https://github.com/m3db/m3/pull/4268
  11. https://github.com/mosn/mosn/pull/2393
  12. https://github.com/cube2222/octosql/pull/334
  13. https://github.com/cubefs/cubefs/pull/3393
  14. https://github.com/openkruise/kruise/pull/1628
  15. https://github.com/ovh/cds/pull/6971
  16. https://github.com/tailwarden/komiser/pull/1428
  17. https://github.com/hashicorp/terraform-provider-google/pull/18251
  18. https://github.com/cdk-team/CDK/pull/101
  19. https://github.com/netlify/gotrue/pull/363
  20. https://github.com/kumahq/kuma/pull/10317
  21. https://github.com/divan/txqr/pull/15
  22. https://github.com/moncho/dry/issues/229
  23. https://github.com/lindb/lindb/issues/1029
  24. https://github.com/montanaflynn/stats/issues/84
  25. https://github.com/koderover/zadig/issues/3531
  26. https://github.com/argoproj/argo-rollouts/issues/3600
  27. https://github.com/getgauge/gauge/issues/2545
  28. https://github.com/StackExchange/dnscontrol/issues/2981
  29. https://github.com/fleetdm/fleet/issues/19290
  30. https://github.com/googleforgames/open-match/issues/1764
  31. https://github.com/wal-g/wal-g/issues/1722
  32. https://github.com/rancher/rke/issues/3592
  33. https://github.com/aquasecurity/tracee/issues/4081
  34. https://github.com/ledgerwatch/erigon/issues/10504
  35. https://github.com/nakabonne/ali/issues/139
  36. https://github.com/DataDog/datadog-agent/issues/25971
  37. https://github.com/frain-dev/convoy/issues/2019
  38. https://github.com/bilibili/overlord/issues/177
  39. https://github.com/SpectoLabs/hoverfly/issues/1131
  40. https://github.com/unidoc/unipdf/issues/555

False Positive

Assigned

  1. https://github.com/gorgonia/gorgonia
  2. https://github.com/cockroachdb/pebble/blob/master/tool/db_io_bench.go#L100
  3. https://github.com/EndlessCheng/codeforces-go/blob/master/main/1300-1399/1381B.go#L27
  4. https://github.com/arp242/goatcounter/blob/master/hit_list.go#L319
  5. https://github.com/prysmaticlabs/prysm/blob/develop/beacon-chain/state/state-native/setters_misc.go#L193
  6. https://github.com/prometheus/prometheus/blob/main/scrape/scrape.go#L1693:16
  7. https://github.com/q191201771/lal/blob/master/pkg/avc/avc.go#L244:9

Assigned by Index With Attr

  1. https://github.com/tenable/terrascan/blob/master/pkg/mapper/iac-providers/cft/config/ec2-instance.go#L154
  2. https://github.com/canonical/lxd/blob/main/lxc/image.go#L302

Others

  1. https://github.com/travisjeffery/jocko/blob/master/commitlog/message_set.go#L16 (the message header is keep)
  2. https://github.com/osrg/gobgp/blob/master/pkg/packet/bgp/bgp.go#L2685:8 i don't know
  3. https://github.com/gocql/gocql/blob/master/frame.go#L968-L971
  4. https://github.com/bnb-chain/bsc/blob/master/core/vm/lightclient/v2/lightclient.go#L244:12
github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/alingse/makezero

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9725272218

Expand 1. [examples/example.go#L7:6](https://github.com/alingse/makezero/blob/master/examples/example.go#L7:6) append to slice `x` with non-zero initialized length at

Report issue: https://github.com/alingse/makezero/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/alingse/makezero

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9725272218

Expand 1. [examples/example.go#L7:6](https://github.com/alingse/makezero/blob/master/examples/example.go#L7:6) append to slice `x` with non-zero initialized length at

Report issue: https://github.com/alingse/makezero/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/alingse/makezero

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731866292

Expand 1. [examples/example.go#L7:6](https://github.com/alingse/makezero/blob/master/examples/example.go#L7:6) append to slice `x` with non-zero initialized length at

Report issue: https://github.com/alingse/makezero/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/alingse/makezero

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731866292

Expand 1. [examples/example.go#L7:6](https://github.com/alingse/makezero/blob/master/examples/example.go#L7:6) append to slice `x` with non-zero initialized length at

Report issue: https://github.com/alingse/makezero/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/syncthing/syncthing

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731977483

Expand 1. [cmd/strelaypoolsrv/stats.go#L103:19](https://github.com/syncthing/syncthing/blob/main/cmd/strelaypoolsrv/stats.go#L103:19) WARNING: could not determine with "permanentRelays" at is a slice (missing object type)

Report issue: https://github.com/syncthing/syncthing/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/ollama/ollama

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731977393

Expand 1. [convert/safetensors.go#L225:11](https://github.com/ollama/ollama/blob/main/convert/safetensors.go#L225:11) append to slice `f32s` with non-zero initialized length, and called by funcs: binary.Read at

Report issue: https://github.com/ollama/ollama/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/ollama/ollama

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731977393

Expand 1. [convert/safetensors.go#L225:11](https://github.com/ollama/ollama/blob/main/convert/safetensors.go#L225:11) append to slice `f32s` with non-zero initialized length, and called by funcs: binary.Read at

Report issue: https://github.com/ollama/ollama/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/v2ray/v2ray-core

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731979409

Expand 1. [app/dns/server.go#L197:21](https://github.com/v2ray/v2ray-core/blob/master/app/dns/server.go#L197:21) append to slice `matcherInfos` with non-zero initialized length, and called by funcs: len at

Report issue: https://github.com/v2ray/v2ray-core/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/v2ray/v2ray-core

Got total 3 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731979409

Expand 1. [app/dns/dnscommon.go#L93:7](https://github.com/v2ray/v2ray-core/blob/master/app/dns/dnscommon.go#L93:7) append to slice `b` with non-zero initialized length, and has assigned by index at 2. [app/dns/dnscommon.go#L97:7](https://github.com/v2ray/v2ray-core/blob/master/app/dns/dnscommon.go#L97:7) append to slice `b` with non-zero initialized length, and has assigned by index at 3. [app/dns/server.go#L197:21](https://github.com/v2ray/v2ray-core/blob/master/app/dns/server.go#L197:21) append to slice `matcherInfos` with non-zero initialized length, and called by funcs: len at

Report issue: https://github.com/v2ray/v2ray-core/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/wagoodman/dive

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731981902

Expand 1. [dive/filetree/file_tree.go#L91:19](https://github.com/wagoodman/dive/blob/main/dive/filetree/file_tree.go#L91:19) append to slice `childSpaces` with non-zero initialized length, and called by funcs: copy at

Report issue: https://github.com/wagoodman/dive/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/wagoodman/dive

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731981902

Expand 1. [dive/filetree/file_tree.go#L91:19](https://github.com/wagoodman/dive/blob/main/dive/filetree/file_tree.go#L91:19) append to slice `childSpaces` with non-zero initialized length, and called by funcs: copy at

Report issue: https://github.com/wagoodman/dive/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/go-gorm/gorm

Got total 3 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731982882

Expand 1. [clause/group_by.go#L35:21](https://github.com/go-gorm/gorm/blob/master/clause/group_by.go#L35:21) append to slice `copiedColumns` with non-zero initialized length, and called by funcs: copy at 2. [clause/group_by.go#L39:20](https://github.com/go-gorm/gorm/blob/master/clause/group_by.go#L39:20) append to slice `copiedHaving` with non-zero initialized length, and called by funcs: copy at 3. [clause/order_by.go#L50:21](https://github.com/go-gorm/gorm/blob/master/clause/order_by.go#L50:21) append to slice `copiedColumns` with non-zero initialized length, and called by funcs: copy at

Report issue: https://github.com/go-gorm/gorm/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/go-gorm/gorm

Got total 4 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731982882

Expand 1. [clause/group_by.go#L35:21](https://github.com/go-gorm/gorm/blob/master/clause/group_by.go#L35:21) append to slice `copiedColumns` with non-zero initialized length, and called by funcs: copy at 2. [clause/group_by.go#L39:20](https://github.com/go-gorm/gorm/blob/master/clause/group_by.go#L39:20) append to slice `copiedHaving` with non-zero initialized length, and called by funcs: copy at 3. [clause/order_by.go#L50:21](https://github.com/go-gorm/gorm/blob/master/clause/order_by.go#L50:21) append to slice `copiedColumns` with non-zero initialized length, and called by funcs: copy at 4. [callbacks/query.go#L215:20](https://github.com/go-gorm/gorm/blob/master/callbacks/query.go#L215:20) append to slice `exprs` with non-zero initialized length, and has assigned by index at

Report issue: https://github.com/go-gorm/gorm/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/gohugoio/hugo

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731977240

Expand 1. [markup/goldmark/convert.go#L103:23](https://github.com/gohugoio/hugo/blob/master/markup/goldmark/convert.go#L103:23) append to slice `tocRendererOptions` with non-zero initialized length, and called by funcs: copy at

Report issue: https://github.com/gohugoio/hugo/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/gohugoio/hugo

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731977240

Expand 1. [markup/goldmark/convert.go#L103:23](https://github.com/gohugoio/hugo/blob/master/markup/goldmark/convert.go#L103:23) append to slice `tocRendererOptions` with non-zero initialized length, and called by funcs: copy at

Report issue: https://github.com/gohugoio/hugo/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/gogs/gogs

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731981039

Expand 1. [internal/cryptoutil/aes.go#L32:9](https://github.com/gogs/gogs/blob/main/internal/cryptoutil/aes.go#L32:9) append to slice `nonce` with non-zero initialized length, and called by funcs: rand.Read,gcm.Seal at

Report issue: https://github.com/gogs/gogs/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/ethereum/go-ethereum

Got total 5 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731978385

Expand 1. [p2p/enr/enr.go#L167:11](https://github.com/ethereum/go-ethereum/blob/master/p2p/enr/enr.go#L167:11) append to slice `pairs` with non-zero initialized length, and called by funcs: copy,len,len at 2. [p2p/rlpx/rlpx.go#L644:9](https://github.com/ethereum/go-ethereum/blob/master/p2p/rlpx/rlpx.go#L644:9) append to slice `prefix` with non-zero initialized length, and called by funcs: binary.BigEndian.PutUint16,ecies.Encrypt at 3. [accounts/usbwallet/ledger.go#L510:12](https://github.com/ethereum/go-ethereum/blob/master/accounts/usbwallet/ledger.go#L510:12) append to slice `chunk` with non-zero initialized length, and called by funcs: len at 4. [accounts/usbwallet/ledger.go#L513:12](https://github.com/ethereum/go-ethereum/blob/master/accounts/usbwallet/ledger.go#L513:12) append to slice `chunk` with non-zero initialized length, and called by funcs: len at 5. [internal/cmdtest/test_cmd.go#L135:9](https://github.com/ethereum/go-ethereum/blob/master/internal/cmdtest/test_cmd.go#L135:9) append to slice `buf` with non-zero initialized length, and called by funcs: io.ReadFull,bytes.Equal at

Report issue: https://github.com/ethereum/go-ethereum/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/cli/cli

Got total 2 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731982366

Expand 1. [pkg/cmd/pr/shared/templates.go#L192:68](https://github.com/cli/cli/blob/trunk/pkg/cmd/pr/shared/templates.go#L192:68) append to slice `names` with non-zero initialized length, and has assigned by index at 2. [pkg/cmd/release/create/create.go#L224:14](https://github.com/cli/cli/blob/trunk/pkg/cmd/release/create/create.go#L224:14) append to slice `options` with non-zero initialized length, and has assigned by index at

Report issue: https://github.com/cli/cli/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/minio/minio

Got total 2 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731980667

Expand 1. [cmd/data-usage-cache.go#L690:12](https://github.com/minio/minio/blob/master/cmd/data-usage-cache.go#L690:12) append to slice `leaves` with non-zero initialized length at 2. [cmd/xl-storage-format-v2.go#L1914:11](https://github.com/minio/minio/blob/master/cmd/xl-storage-format-v2.go#L1914:11) append to slice `tops` with non-zero initialized length, and called by funcs: len at

Report issue: https://github.com/minio/minio/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/halfrost/LeetCode-Go

Got total 4 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731983614

Expand 1. [leetcode/0018.4Sum/18.](https://github.com/halfrost/LeetCode-Go/blob/master/leetcode/0018.4Sum/18.) append to slice `next` with non-zero initialized length, and called by funcs: copy at 4Sum.go#L55:12 2. [leetcode/0078.Subsets/78.](https://github.com/halfrost/LeetCode-Go/blob/master/leetcode/0078.Subsets/78.) append to slice `res` with non-zero initialized length at Subsets.go#L39:10 3. [leetcode/0126.Word-Ladder-II/126.](https://github.com/halfrost/LeetCode-Go/blob/master/leetcode/0126.Word-Ladder-II/126.) append to slice `newPath` with non-zero initialized length, and called by funcs: copy at Word Ladder II.go#L39:16 4. [leetcode/1696.Jump-Game-VI/1696.](https://github.com/halfrost/LeetCode-Go/blob/master/leetcode/1696.Jump-Game-VI/1696.) append to slice `window` with non-zero initialized length, and called by funcs: len,len,len,len at Jump Game VI.go#L23:12

Report issue: https://github.com/halfrost/LeetCode-Go/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/halfrost/LeetCode-Go

Got total 4 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731983614

Expand 1. [leetcode/0018.4Sum/18.](https://github.com/halfrost/LeetCode-Go/blob/master/leetcode/0018.4Sum/18.) append to slice `next` with non-zero initialized length, and called by funcs: copy at 4Sum.go#L55:12 2. [leetcode/0078.Subsets/78.](https://github.com/halfrost/LeetCode-Go/blob/master/leetcode/0078.Subsets/78.) append to slice `res` with non-zero initialized length at Subsets.go#L39:10 3. [leetcode/0126.Word-Ladder-II/126.](https://github.com/halfrost/LeetCode-Go/blob/master/leetcode/0126.Word-Ladder-II/126.) append to slice `newPath` with non-zero initialized length, and called by funcs: copy at Word Ladder II.go#L39:16 4. [leetcode/1696.Jump-Game-VI/1696.](https://github.com/halfrost/LeetCode-Go/blob/master/leetcode/1696.Jump-Game-VI/1696.) append to slice `window` with non-zero initialized length, and called by funcs: len,len,len,len at Jump Game VI.go#L23:12

Report issue: https://github.com/halfrost/LeetCode-Go/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/prometheus/prometheus

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731977682

Expand 1. [scrape/scrape.go#L1693:16](https://github.com/prometheus/prometheus/blob/main/scrape/scrape.go#L1693:16) append to slice `exemplars` with non-zero initialized length at

Report issue: https://github.com/prometheus/prometheus/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/gogs/gogs

Got total 3 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731981039

Expand 1. [internal/database/backup.go#L112:25](https://github.com/gogs/gogs/blob/main/internal/database/backup.go#L112:25) WARNING: could not determine with "legacyTables" at is a slice (missing object type) 2. [internal/database/backup.go#L240:25](https://github.com/gogs/gogs/blob/main/internal/database/backup.go#L240:25) WARNING: could not determine with "legacyTables" at is a slice (missing object type) 3. [internal/cryptoutil/aes.go#L32:9](https://github.com/gogs/gogs/blob/main/internal/cryptoutil/aes.go#L32:9) append to slice `nonce` with non-zero initialized length, and called by funcs: rand.Read,gcm.Seal at

Report issue: https://github.com/gogs/gogs/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/rclone/rclone

Got total 6 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731981620

Expand 1. [fs/fserrors/retriable_errors.go#L10:27](https://github.com/rclone/rclone/blob/master/fs/fserrors/retriable_errors.go#L10:27) WARNING: could not determine with "retriableErrors" at is a slice (missing object type) 2. [lib/buildinfo/cgo.go#L6:16](https://github.com/rclone/rclone/blob/master/lib/buildinfo/cgo.go#L6:16) WARNING: could not determine with "Tags" at is a slice (missing object type) 3. [backend/hidrive/hidrivehash/hidrivehash.go#L182:6](https://github.com/rclone/rclone/blob/master/backend/hidrive/hidrivehash/hidrivehash.go#L182:6) append to slice `b` with non-zero initialized length, and called by funcs: copy, and has assigned by index at 4. [backend/hidrive/hidrivehash/hidrivehash.go#L347:7](https://github.com/rclone/rclone/blob/master/backend/hidrive/hidrivehash/hidrivehash.go#L347:7) append to slice `b` with non-zero initialized length, and called by funcs: copy, and has assigned by index at 5. [backend/hidrive/hidrivehash/hidrivehash.go#L348:7](https://github.com/rclone/rclone/blob/master/backend/hidrive/hidrivehash/hidrivehash.go#L348:7) append to slice `b` with non-zero initialized length, and called by funcs: copy, and has assigned by index at 6. [backend/hidrive/hidrivehash/hidrivehash.go#L354:6](https://github.com/rclone/rclone/blob/master/backend/hidrive/hidrivehash/hidrivehash.go#L354:6) append to slice `b` with non-zero initialized length, and called by funcs: copy, and has assigned by index at

Report issue: https://github.com/rclone/rclone/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/ethereum/go-ethereum

Got total 8 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731978385

Expand 1. [p2p/enr/enr.go#L167:11](https://github.com/ethereum/go-ethereum/blob/master/p2p/enr/enr.go#L167:11) append to slice `pairs` with non-zero initialized length, and called by funcs: copy,len,len at 2. [p2p/enr/enr.go#L172:11](https://github.com/ethereum/go-ethereum/blob/master/p2p/enr/enr.go#L172:11) append to slice `pairs` with non-zero initialized length, and called by funcs: copy,len,len, and has assigned by index at 3. [p2p/rlpx/rlpx.go#L644:9](https://github.com/ethereum/go-ethereum/blob/master/p2p/rlpx/rlpx.go#L644:9) append to slice `prefix` with non-zero initialized length, and called by funcs: binary.BigEndian.PutUint16,ecies.Encrypt at 4. [accounts/usbwallet/ledger.go#L345:13](https://github.com/ethereum/go-ethereum/blob/master/accounts/usbwallet/ledger.go#L345:13) append to slice `path` with non-zero initialized length, and has assigned by index at 5. [accounts/usbwallet/ledger.go#L433:13](https://github.com/ethereum/go-ethereum/blob/master/accounts/usbwallet/ledger.go#L433:13) append to slice `path` with non-zero initialized length, and has assigned by index at 6. [accounts/usbwallet/ledger.go#L510:12](https://github.com/ethereum/go-ethereum/blob/master/accounts/usbwallet/ledger.go#L510:12) append to slice `chunk` with non-zero initialized length, and called by funcs: len at 7. [accounts/usbwallet/ledger.go#L513:12](https://github.com/ethereum/go-ethereum/blob/master/accounts/usbwallet/ledger.go#L513:12) append to slice `chunk` with non-zero initialized length, and called by funcs: len at 8. [internal/cmdtest/test_cmd.go#L135:9](https://github.com/ethereum/go-ethereum/blob/master/internal/cmdtest/test_cmd.go#L135:9) append to slice `buf` with non-zero initialized length, and called by funcs: io.ReadFull,bytes.Equal at

Report issue: https://github.com/ethereum/go-ethereum/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/minio/minio

Got total 14 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731980667

Expand 1. [cmd/common-main.go#L774:31](https://github.com/minio/minio/blob/master/cmd/common-main.go#L774:31) WARNING: could not determine with "globalDomainNames" at is a slice (missing object type) 2. [cmd/erasure-object.go#L55:34](https://github.com/minio/minio/blob/master/cmd/erasure-object.go#L55:34) WARNING: could not determine with "baseIgnoredErrs" at is a slice (missing object type) 3. [cmd/erasure.go#L38:34](https://github.com/minio/minio/blob/master/cmd/erasure.go#L38:34) WARNING: could not determine with "baseIgnoredErrs" at is a slice (missing object type) 4. [cmd/storage-rest-server.go#L1404:32](https://github.com/minio/minio/blob/master/cmd/storage-rest-server.go#L1404:32) WARNING: could not determine with "globalLocalDrives" at is a slice (missing object type) 5. [internal/config/config.go#L334:10](https://github.com/minio/minio/blob/master/internal/config/config.go#L334:10) append to slice `keys` with non-zero initialized length, and has assigned by index at 6. [cmd/bucket-targets.go#L398:13](https://github.com/minio/minio/blob/master/cmd/bucket-targets.go#L398:13) append to slice `newtgts` with non-zero initialized length, and has assigned by index at 7. [cmd/data-usage-cache.go#L690:12](https://github.com/minio/minio/blob/master/cmd/data-usage-cache.go#L690:12) append to slice `leaves` with non-zero initialized length at 8. [cmd/notification.go#L494:14](https://github.com/minio/minio/blob/master/cmd/notification.go#L494:14) append to slice `locksResp` with non-zero initialized length, and has assigned by index at 9. [cmd/notification.go#L589:21](https://github.com/minio/minio/blob/master/cmd/notification.go#L589:21) append to slice `replicationStats` with non-zero initialized length, and has assigned by index at 10. [cmd/notification.go#L618:16](https://github.com/minio/minio/blob/master/cmd/notification.go#L618:16) append to slice `bucketStats` with non-zero initialized length, and has assigned by index at 11. [cmd/notification.go#L651:14](https://github.com/minio/minio/blob/master/cmd/notification.go#L651:14) append to slice `siteStats` with non-zero initialized length, and has assigned by index at 12. [cmd/notification.go#L1081:12](https://github.com/minio/minio/blob/master/cmd/notification.go#L1081:12) append to slice `replies` with non-zero initialized length, and has assigned by index at 13. [cmd/notification.go#L1190:12](https://github.com/minio/minio/blob/master/cmd/notification.go#L1190:12) append to slice `reports` with non-zero initialized length, and has assigned by index at 14. [cmd/xl-storage-format-v2.go#L1914:11](https://github.com/minio/minio/blob/master/cmd/xl-storage-format-v2.go#L1914:11) append to slice `tops` with non-zero initialized length, and called by funcs: len at

Report issue: https://github.com/minio/minio/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/prometheus/prometheus

Got total 2 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731977682

Expand 1. [config/config.go#L321:13](https://github.com/prometheus/prometheus/blob/main/config/config.go#L321:13) append to slice `scfgs` with non-zero initialized length, and has assigned by index at 2. [scrape/scrape.go#L1693:16](https://github.com/prometheus/prometheus/blob/main/scrape/scrape.go#L1693:16) append to slice `exemplars` with non-zero initialized length at

Report issue: https://github.com/prometheus/prometheus/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/pocketbase/pocketbase

Got total 2 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731983861

Expand 1. [tools/filesystem/s3_trimmed.go#L219:16](https://github.com/pocketbase/pocketbase/blob/master/tools/filesystem/s3_trimmed.go#L219:16) append to slice `unescaped` with non-zero initialized length, and called by funcs: copy at 2. [tools/filesystem/s3_trimmed.go#L222:16](https://github.com/pocketbase/pocketbase/blob/master/tools/filesystem/s3_trimmed.go#L222:16) append to slice `unescaped` with non-zero initialized length, and called by funcs: copy at

Report issue: https://github.com/pocketbase/pocketbase/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/pocketbase/pocketbase

Got total 2 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731983861

Expand 1. [tools/filesystem/s3_trimmed.go#L219:16](https://github.com/pocketbase/pocketbase/blob/master/tools/filesystem/s3_trimmed.go#L219:16) append to slice `unescaped` with non-zero initialized length, and called by funcs: copy at 2. [tools/filesystem/s3_trimmed.go#L222:16](https://github.com/pocketbase/pocketbase/blob/master/tools/filesystem/s3_trimmed.go#L222:16) append to slice `unescaped` with non-zero initialized length, and called by funcs: copy at

Report issue: https://github.com/pocketbase/pocketbase/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/photoprism/photoprism

Got total 3 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731984512

Expand 1. [internal/entity/subject_names.go#L7:19](https://github.com/photoprism/photoprism/blob/develop/internal/entity/subject_names.go#L7:19) WARNING: could not determine with "onReady" at is a slice (missing object type) 2. [internal/config/config.go#L96:20](https://github.com/photoprism/photoprism/blob/develop/internal/config/config.go#L96:20) WARNING: could not determine with "Thumbs" at is a slice (missing object type) 3. [internal/commands/users_mod.go#L20:16](https://github.com/photoprism/photoprism/blob/develop/internal/commands/users_mod.go#L20:16) WARNING: could not determine with "UserFlags" at is a slice (missing object type)

Report issue: https://github.com/photoprism/photoprism/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/hashicorp/terraform

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731981412

Expand 1. [internal/stacks/stackruntime/internal/stackeval/expression_refs.go#L155:13](https://github.com/hashicorp/terraform/blob/main/internal/stacks/stackruntime/internal/stackeval/expression_refs.go#L155:13) append to slice `queue` with non-zero initialized length, and called by funcs: len, and has assigned by index at

Report issue: https://github.com/hashicorp/terraform/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/go-gitea/gitea

Got total 7 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731981782

Expand 1. [modules/util/legacy.go#L62:9](https://github.com/go-gitea/gitea/blob/main/modules/util/legacy.go#L62:9) append to slice `nonce` with non-zero initialized length, and called by funcs: rand.Read,gcm.Seal at 2. [modules/git/diff.go#L250:12](https://github.com/go-gitea/gitea/blob/main/modules/git/diff.go#L250:12) append to slice `newHunk` with non-zero initialized length, and called by funcs: copy at 3. [modules/git/log_name_status.go#L227:15](https://github.com/go-gitea/gitea/blob/main/modules/git/log_name_status.go#L227:15) append to slice `fnameBuf` with non-zero initialized length, and called by funcs: copy,len at 4. [modules/git/log_name_status.go#L239:15](https://github.com/go-gitea/gitea/blob/main/modules/git/log_name_status.go#L239:15) append to slice `fnameBuf` with non-zero initialized length, and called by funcs: copy,len,len at 5. [routers/web/repo/editor.go#L170:9](https://github.com/go-gitea/gitea/blob/main/routers/web/repo/editor.go#L170:9) append to slice `buf` with non-zero initialized length, and called by funcs: util.ReadAtMost,typesniffer.DetectContentType at 6. [cmd/doctor.go#L204:14](https://github.com/go-gitea/gitea/blob/main/cmd/doctor.go#L204:14) append to slice `checks` with non-zero initialized length, and called by funcs: copy at 7. [cmd/doctor.go#L214:14](https://github.com/go-gitea/gitea/blob/main/cmd/doctor.go#L214:14) append to slice `checks` with non-zero initialized length, and called by funcs: copy at

Report issue: https://github.com/go-gitea/gitea/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/v2fly/v2ray-core

Got total 2 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731986755

Expand 1. [app/dns/dnscommon.go#L91:7](https://github.com/v2fly/v2ray-core/blob/master/app/dns/dnscommon.go#L91:7) append to slice `b` with non-zero initialized length, and has assigned by index at 2. [app/dns/dnscommon.go#L95:7](https://github.com/v2fly/v2ray-core/blob/master/app/dns/dnscommon.go#L95:7) append to slice `b` with non-zero initialized length, and has assigned by index at

Report issue: https://github.com/v2fly/v2ray-core/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/go-gitea/gitea

Got total 12 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731981782

Expand 1. [modules/proxyprotocol/util.go#L8:26](https://github.com/go-gitea/gitea/blob/main/modules/proxyprotocol/util.go#L8:26) WARNING: could not determine with "v2Prefix" at is a slice (missing object type) 2. [modules/git/git.go#L190:30](https://github.com/go-gitea/gitea/blob/main/modules/git/git.go#L190:30) WARNING: could not determine with "globalCommandArgs" at is a slice (missing object type) 3. [modules/git/git.go#L195:30](https://github.com/go-gitea/gitea/blob/main/modules/git/git.go#L195:30) WARNING: could not determine with "globalCommandArgs" at is a slice (missing object type) 4. [modules/git/git.go#L202:30](https://github.com/go-gitea/gitea/blob/main/modules/git/git.go#L202:30) WARNING: could not determine with "globalCommandArgs" at is a slice (missing object type) 5. [modules/util/legacy.go#L62:9](https://github.com/go-gitea/gitea/blob/main/modules/util/legacy.go#L62:9) append to slice `nonce` with non-zero initialized length, and called by funcs: rand.Read,gcm.Seal at 6. [modules/git/diff.go#L250:12](https://github.com/go-gitea/gitea/blob/main/modules/git/diff.go#L250:12) append to slice `newHunk` with non-zero initialized length, and called by funcs: copy at 7. [modules/git/log_name_status.go#L227:15](https://github.com/go-gitea/gitea/blob/main/modules/git/log_name_status.go#L227:15) append to slice `fnameBuf` with non-zero initialized length, and called by funcs: copy,len at 8. [modules/git/log_name_status.go#L239:15](https://github.com/go-gitea/gitea/blob/main/modules/git/log_name_status.go#L239:15) append to slice `fnameBuf` with non-zero initialized length, and called by funcs: copy,len,len at 9. [services/pull/comment.go#L57:15](https://github.com/go-gitea/gitea/blob/main/services/pull/comment.go#L57:15) append to slice `commitIDs` with non-zero initialized length, and has assigned by index at 10. [routers/web/repo/editor.go#L170:9](https://github.com/go-gitea/gitea/blob/main/routers/web/repo/editor.go#L170:9) append to slice `buf` with non-zero initialized length, and called by funcs: util.ReadAtMost,typesniffer.DetectContentType at 11. [cmd/doctor.go#L204:14](https://github.com/go-gitea/gitea/blob/main/cmd/doctor.go#L204:14) append to slice `checks` with non-zero initialized length, and called by funcs: copy at 12. [cmd/doctor.go#L214:14](https://github.com/go-gitea/gitea/blob/main/cmd/doctor.go#L214:14) append to slice `checks` with non-zero initialized length, and called by funcs: copy at

Report issue: https://github.com/go-gitea/gitea/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/schollz/croc

Got total 3 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731989116

Expand 1. [src/crypt/crypt.go#L54:14](https://github.com/schollz/croc/blob/main/src/crypt/crypt.go#L54:14) append to slice `ivBytes` with non-zero initialized length, and called by funcs: rand.Read,aesgcm.Seal at 2. [src/croc/croc.go#L2037:8](https://github.com/schollz/croc/blob/main/src/croc/croc.go#L2037:8) append to slice `posByte` with non-zero initialized length, and called by funcs: binary.LittleEndian.PutUint64 at 3. [src/croc/croc.go#L2043:9](https://github.com/schollz/croc/blob/main/src/croc/croc.go#L2043:9) append to slice `posByte` with non-zero initialized length, and called by funcs: binary.LittleEndian.PutUint64 at

Report issue: https://github.com/schollz/croc/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/schollz/croc

Got total 3 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731989116

Expand 1. [src/crypt/crypt.go#L54:14](https://github.com/schollz/croc/blob/main/src/crypt/crypt.go#L54:14) append to slice `ivBytes` with non-zero initialized length, and called by funcs: rand.Read,aesgcm.Seal at 2. [src/croc/croc.go#L2037:8](https://github.com/schollz/croc/blob/main/src/croc/croc.go#L2037:8) append to slice `posByte` with non-zero initialized length, and called by funcs: binary.LittleEndian.PutUint64 at 3. [src/croc/croc.go#L2043:9](https://github.com/schollz/croc/blob/main/src/croc/croc.go#L2043:9) append to slice `posByte` with non-zero initialized length, and called by funcs: binary.LittleEndian.PutUint64 at

Report issue: https://github.com/schollz/croc/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/istio/istio

Got total 2 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731982166

Expand 1. [operator/pkg/apis/addtoscheme_istio_v1alpha1.go#L23:24](https://github.com/istio/istio/blob/master/operator/pkg/apis/addtoscheme_istio_v1alpha1.go#L23:24) WARNING: could not determine with "AddToSchemes" at is a slice (missing object type) 2. [pkg/config/schema/resource/schema.go#L263:9](https://github.com/istio/istio/blob/master/pkg/config/schema/resource/schema.go#L263:9) append to slice `gvks` with non-zero initialized length, and has assigned by index at

Report issue: https://github.com/istio/istio/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/zeromicro/go-zero

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731987279

Expand 1. [core/filex/file.go#L84:10](https://github.com/zeromicro/go-zero/blob/master/core/filex/file.go#L84:10) append to slice `buf` with non-zero initialized length, and called by funcs: file.ReadAt at

Report issue: https://github.com/zeromicro/go-zero/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/zeromicro/go-zero

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731987279

Expand 1. [core/filex/file.go#L84:10](https://github.com/zeromicro/go-zero/blob/master/core/filex/file.go#L84:10) append to slice `buf` with non-zero initialized length, and called by funcs: file.ReadAt at

Report issue: https://github.com/zeromicro/go-zero/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/kataras/iris

Got total 2 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731989763

Expand 1. [core/router/handler_debug.go#L39:23](https://github.com/kataras/iris/blob/main/core/router/handler_debug.go#L39:23) WARNING: could not determine with "AllMethods" at is a slice (missing object type) 2. [core/router/path.go#L368:18](https://github.com/kataras/iris/blob/main/core/router/path.go#L368:18) append to slice `argsString` with non-zero initialized length, and has assigned by index at

Report issue: https://github.com/kataras/iris/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/kubernetes/kubernetes

Got total 8 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731976139

Expand 1. [pkg/apis/storage/validation/validation.go#L290:19](https://github.com/kubernetes/kubernetes/blob/master/pkg/apis/storage/validation/validation.go#L290:19) append to slice `rawTopologies` with non-zero initialized length at 2. [pkg/proxy/iptables/proxier.go#L1412:12](https://github.com/kubernetes/kubernetes/blob/master/pkg/proxy/iptables/proxier.go#L1412:12) append to slice `args` with non-zero initialized length, and called by funcs: natRules.Write,natRules.Write,natRules.Write,natRules.Write,proxier.writeServiceToEndpointRules,proxier.writeServiceToEndpointRules,proxier.appendServiceCommentLocked,natRules.Write at 3. [pkg/proxy/iptables/proxier.go#L1415:11](https://github.com/kubernetes/kubernetes/blob/master/pkg/proxy/iptables/proxier.go#L1415:11) append to slice `args` with non-zero initialized length, and called by funcs: natRules.Write,natRules.Write,natRules.Write,natRules.Write,proxier.writeServiceToEndpointRules,proxier.writeServiceToEndpointRules,proxier.appendServiceCommentLocked,natRules.Write at 4. [pkg/proxy/ipvs/proxier.go#L1532:12](https://github.com/kubernetes/kubernetes/blob/master/pkg/proxy/ipvs/proxier.go#L1532:12) append to slice `args` with non-zero initialized length at 5. [pkg/proxy/ipvs/proxier.go#L1534:11](https://github.com/kubernetes/kubernetes/blob/master/pkg/proxy/ipvs/proxier.go#L1534:11) append to slice `args` with non-zero initialized length at 6. [cmd/kubeadm/app/util/arguments.go#L50:11](https://github.com/kubernetes/kubernetes/blob/master/cmd/kubeadm/app/util/arguments.go#L50:11) append to slice `args` with non-zero initialized length, and called by funcs: copy at 7. [pkg/kubelet/kubelet_node_status.go#L324:16](https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/kubelet_node_status.go#L324:16) append to slice `nodeTaints` with non-zero initialized length, and called by funcs: copy,taintutil.TaintExists at 8. [pkg/kubelet/kubelet_node_status.go#L334:16](https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/kubelet_node_status.go#L334:16) append to slice `nodeTaints` with non-zero initialized length, and called by funcs: copy,taintutil.TaintExists at

Report issue: https://github.com/kubernetes/kubernetes/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/ollama/ollama

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9732010675

Expand 1. [convert/safetensors.go#L225:11](https://github.com/ollama/ollama/blob/main/convert/safetensors.go#L225:11) append to slice `f32s` with non-zero initialized length, and called by funcs: binary.Read at

Report issue: https://github.com/ollama/ollama/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/ollama/ollama

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9732010675

Expand 1. [convert/safetensors.go#L225:11](https://github.com/ollama/ollama/blob/main/convert/safetensors.go#L225:11) append to slice `f32s` with non-zero initialized length, and called by funcs: binary.Read at

Report issue: https://github.com/ollama/ollama/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/hashicorp/consul

Got total 2 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731986621

Expand 1. [agent/hcp/testing.go#L172:13](https://github.com/hashicorp/consul/blob/main/agent/hcp/testing.go#L172:13) append to slice `servers` with non-zero initialized length at 2. [agent/hcp/bootstrap/testing.go#L181:10](https://github.com/hashicorp/consul/blob/main/agent/hcp/bootstrap/testing.go#L181:10) append to slice `args` with non-zero initialized length at

Report issue: https://github.com/hashicorp/consul/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/milvus-io/milvus

Got total 4 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731987706

Expand 1. [internal/distributed/proxy/httpserver/wrap_request.go#L232:11](https://github.com/milvus-io/milvus/blob/master/internal/distributed/proxy/httpserver/wrap_request.go#L232:11) append to slice `data` with non-zero initialized length at 2. [internal/rootcoord/broker.go#L242:18](https://github.com/milvus-io/milvus/blob/master/internal/rootcoord/broker.go#L242:18) append to slice `partitionIDs` with non-zero initialized length at 3. [cmd/tools/migration/meta/210_to_220.go#L64:11](https://github.com/milvus-io/milvus/blob/master/cmd/tools/migration/meta/210_to_220.go#L64:11) append to slice `pairs` with non-zero initialized length at 4. [tests/integration/minicluster_v2.go#L257:13](https://github.com/milvus-io/milvus/blob/master/tests/integration/minicluster_v2.go#L257:13) append to slice `servers` with non-zero initialized length at

Report issue: https://github.com/milvus-io/milvus/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/pingcap/tidb

Got total 2 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731982032

Expand 1. [pkg/session/mock_bootstrap.go#L164:29](https://github.com/pingcap/tidb/blob/master/pkg/session/mock_bootstrap.go#L164:29) WARNING: could not determine with "bootstrapVersion" at is a slice (missing object type) 2. [pkg/session/mock_bootstrap.go#L166:29](https://github.com/pingcap/tidb/blob/master/pkg/session/mock_bootstrap.go#L166:29) WARNING: could not determine with "bootstrapVersion" at is a slice (missing object type)

Report issue: https://github.com/pingcap/tidb/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/syncthing/syncthing

Got total 1 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9732010837

Expand 1. [cmd/strelaypoolsrv/stats.go#L103:19](https://github.com/syncthing/syncthing/blob/main/cmd/strelaypoolsrv/stats.go#L103:19) WARNING: could not determine with "permanentRelays" at is a slice (missing object type)

Report issue: https://github.com/syncthing/syncthing/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/milvus-io/milvus

Got total 4 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731987706

Expand 1. [internal/distributed/proxy/httpserver/wrap_request.go#L232:11](https://github.com/milvus-io/milvus/blob/master/internal/distributed/proxy/httpserver/wrap_request.go#L232:11) append to slice `data` with non-zero initialized length at 2. [internal/rootcoord/broker.go#L242:18](https://github.com/milvus-io/milvus/blob/master/internal/rootcoord/broker.go#L242:18) append to slice `partitionIDs` with non-zero initialized length at 3. [cmd/tools/migration/meta/210_to_220.go#L64:11](https://github.com/milvus-io/milvus/blob/master/cmd/tools/migration/meta/210_to_220.go#L64:11) append to slice `pairs` with non-zero initialized length at 4. [tests/integration/minicluster_v2.go#L257:13](https://github.com/milvus-io/milvus/blob/master/tests/integration/minicluster_v2.go#L257:13) append to slice `servers` with non-zero initialized length at

Report issue: https://github.com/milvus-io/milvus/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/hashicorp/consul

Got total 10 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731986621

Expand 1. [agent/hcp/testing.go#L172:13](https://github.com/hashicorp/consul/blob/main/agent/hcp/testing.go#L172:13) append to slice `servers` with non-zero initialized length at 2. [agent/hcp/bootstrap/testing.go#L181:10](https://github.com/hashicorp/consul/blob/main/agent/hcp/bootstrap/testing.go#L181:10) append to slice `args` with non-zero initialized length at 3. [agent/xds/listeners.go#L152:16](https://github.com/hashicorp/consul/blob/main/agent/xds/listeners.go#L152:16) append to slice `resources` with non-zero initialized length, and has assigned by index at 4. [agent/xds/listeners.go#L204:16](https://github.com/hashicorp/consul/blob/main/agent/xds/listeners.go#L204:16) append to slice `resources` with non-zero initialized length, and has assigned by index at 5. [agent/xds/listeners.go#L381:16](https://github.com/hashicorp/consul/blob/main/agent/xds/listeners.go#L381:16) append to slice `resources` with non-zero initialized length, and has assigned by index at 6. [agent/xds/listeners.go#L425:16](https://github.com/hashicorp/consul/blob/main/agent/xds/listeners.go#L425:16) append to slice `resources` with non-zero initialized length, and has assigned by index at 7. [agent/xds/listeners.go#L568:16](https://github.com/hashicorp/consul/blob/main/agent/xds/listeners.go#L568:16) append to slice `resources` with non-zero initialized length, and has assigned by index at 8. [agent/xds/listeners.go#L594:16](https://github.com/hashicorp/consul/blob/main/agent/xds/listeners.go#L594:16) append to slice `resources` with non-zero initialized length, and has assigned by index at 9. [agent/xds/listeners.go#L623:15](https://github.com/hashicorp/consul/blob/main/agent/xds/listeners.go#L623:15) append to slice `resources` with non-zero initialized length, and has assigned by index at 10. [agent/xds/listeners.go#L653:15](https://github.com/hashicorp/consul/blob/main/agent/xds/listeners.go#L653:15) append to slice `resources` with non-zero initialized length, and has assigned by index at

Report issue: https://github.com/hashicorp/consul/issues

github-actions[bot] commented 3 months ago

Run makezero on Repo: https://github.com/kubernetes/kubernetes

Got total 8 line output in action: https://github.com/alingse/go-linter-runner/actions/runs/9731976139

Expand 1. [pkg/apis/storage/validation/validation.go#L290:19](https://github.com/kubernetes/kubernetes/blob/master/pkg/apis/storage/validation/validation.go#L290:19) append to slice `rawTopologies` with non-zero initialized length at 2. [pkg/proxy/iptables/proxier.go#L1412:12](https://github.com/kubernetes/kubernetes/blob/master/pkg/proxy/iptables/proxier.go#L1412:12) append to slice `args` with non-zero initialized length, and called by funcs: natRules.Write,natRules.Write,natRules.Write,natRules.Write,proxier.writeServiceToEndpointRules,proxier.writeServiceToEndpointRules,proxier.appendServiceCommentLocked,natRules.Write at 3. [pkg/proxy/iptables/proxier.go#L1415:11](https://github.com/kubernetes/kubernetes/blob/master/pkg/proxy/iptables/proxier.go#L1415:11) append to slice `args` with non-zero initialized length, and called by funcs: natRules.Write,natRules.Write,natRules.Write,natRules.Write,proxier.writeServiceToEndpointRules,proxier.writeServiceToEndpointRules,proxier.appendServiceCommentLocked,natRules.Write at 4. [pkg/proxy/ipvs/proxier.go#L1532:12](https://github.com/kubernetes/kubernetes/blob/master/pkg/proxy/ipvs/proxier.go#L1532:12) append to slice `args` with non-zero initialized length at 5. [pkg/proxy/ipvs/proxier.go#L1534:11](https://github.com/kubernetes/kubernetes/blob/master/pkg/proxy/ipvs/proxier.go#L1534:11) append to slice `args` with non-zero initialized length at 6. [cmd/kubeadm/app/util/arguments.go#L50:11](https://github.com/kubernetes/kubernetes/blob/master/cmd/kubeadm/app/util/arguments.go#L50:11) append to slice `args` with non-zero initialized length, and called by funcs: copy at 7. [pkg/kubelet/kubelet_node_status.go#L324:16](https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/kubelet_node_status.go#L324:16) append to slice `nodeTaints` with non-zero initialized length, and called by funcs: copy,taintutil.TaintExists at 8. [pkg/kubelet/kubelet_node_status.go#L334:16](https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/kubelet_node_status.go#L334:16) append to slice `nodeTaints` with non-zero initialized length, and called by funcs: copy,taintutil.TaintExists at

Report issue: https://github.com/kubernetes/kubernetes/issues