alingse / go-linter-runner

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

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

Closed alingse closed 5 days ago

alingse commented 5 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 4 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/9732010519

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 4 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/9732010519

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 4 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/9732011038

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 4 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/9732011038

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 4 months ago

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

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

Expand 1. [builtin/credential/aws/path_config_certificate.go#L187:12](https://github.com/hashicorp/vault/blob/main/builtin/credential/aws/path_config_certificate.go#L187:12) append to slice `certs` with non-zero initialized length, and called by funcs: copy at

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

github-actions[bot] commented 4 months ago

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

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

Expand 1. [builtin/credential/aws/path_config_certificate.go#L187:12](https://github.com/hashicorp/vault/blob/main/builtin/credential/aws/path_config_certificate.go#L187:12) append to slice `certs` with non-zero initialized length, and called by funcs: copy at 2. [vault/activity_log.go#L1569:17](https://github.com/hashicorp/vault/blob/main/vault/activity_log.go#L1569:17) append to slice `allFragments` with non-zero initialized length, and has assigned by index at 3. [vault/identity_store_entities.go#L528:26](https://github.com/hashicorp/vault/blob/main/vault/identity_store_entities.go#L528:26) append to slice `groupIDs` with non-zero initialized length, and has assigned by index at

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

github-actions[bot] commented 4 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/9732009686

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 4 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/9732009686

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 4 months ago

Run makezero on Repo: https://github.com/cockroachdb/cockroach

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

Expand 1. [pkg/keys/printer.go#L180:43](https://github.com/cockroachdb/cockroach/blob/master/pkg/keys/printer.go#L180:43) WARNING: could not determine with "LocalStorePrefix" at is a slice (missing object type) 2. [pkg/keys/printer.go#L185:43](https://github.com/cockroachdb/cockroach/blob/master/pkg/keys/printer.go#L185:43) WARNING: could not determine with "LocalStorePrefix" at is a slice (missing object type) 3. [pkg/keys/printer.go#L190:43](https://github.com/cockroachdb/cockroach/blob/master/pkg/keys/printer.go#L190:43) WARNING: could not determine with "LocalStorePrefix" at is a slice (missing object type) 4. [pkg/sql/privilege/kind.go#L219:26](https://github.com/cockroachdb/cockroach/blob/master/pkg/sql/privilege/kind.go#L219:26) WARNING: could not determine with "AllPrivileges" at is a slice (missing object type) 5. goroutine 1 [running]: 6. github.com/alingse/makezero/makezero.(*visitor).isSlice(0x852100?, {0x6f2c60?, 0xc04e119980?}) 7. /home/runner/go/pkg/mod/github.com/alingse/makezero@v0.0.0-20240510154908-f6a823578e89/makezero/makezero.go#L272 +0xdf 8. github.com/alingse/makezero/makezero.(*visitor).Visit(0xc04bdd5080, {0x6f30e8?, 0xc04e122240}) 9. /home/runner/go/pkg/mod/github.com/alingse/makezero@v0.0.0-20240510154908-f6a823578e89/makezero/makezero.go#L164 +0x5c5 10. go/ast.Walk({0x6f1ee8?, 0xc04bdd5080?}, {0x6f30e8, 0xc04e122240}) 11. /opt/hostedtoolcache/go/1.22.4/x64/src/go/ast/walk.go#L51 +0x4c 12. go/ast.walkStmtList(...) 13. /opt/hostedtoolcache/go/1.22.4/x64/src/go/ast/walk.go#L32 14. go/ast.Walk({0x6f1ee8?, 0xc04bdd5080?}, {0x6f2d00, 0xc04e11acf0}) 15. /opt/hostedtoolcache/go/1.22.4/x64/src/go/ast/walk.go#L234 +0x31b7 16. go/ast.Walk({0x6f1ee8?, 0xc04bdd5080?}, {0x6f33b8, 0xc04e11ad20}) 17. /opt/hostedtoolcache/go/1.22.4/x64/src/go/ast/walk.go#L357 +0xfa5 18. go/ast.walkDeclList(...) 19. /opt/hostedtoolcache/go/1.22.4/x64/src/go/ast/walk.go#L38 20. go/ast.Walk({0x6f1ee8?, 0xc04bdd5080?}, {0x6f2a08, 0xc04d5e1d60}) 21. /opt/hostedtoolcache/go/1.22.4/x64/src/go/ast/walk.go#L366 +0x36c5 22. github.com/alingse/makezero/makezero.Linter.Run({0x80?}, 0xc0000ae2c0, 0xc04edc6780, {0xc03191c700?, 0x65e7c0?, 0x4b?}) 23. /home/runner/go/pkg/mod/github.com/alingse/makezero@v0.0.0-20240510154908-f6a823578e89/makezero/makezero.go#L124 +0x274 24. /home/runner/go/pkg/mod/github.com/alingse/makezero@v0.0.0-20240510154908-f6a823578e89/main.go#L37 +0x2ea

Report issue: https://github.com/cockroachdb/cockroach/issues

github-actions[bot] commented 4 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/9732130116

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 4 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/9732130116

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 4 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/9732130434

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 4 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/9732130175

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 4 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/9732130434

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 4 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/9732130780

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 4 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/9732130780

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 4 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/9732130910

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 4 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/9732130910

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 4 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/9732130047

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 4 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/9732130047

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 4 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/9732130255

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 4 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/9732130976

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 4 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/9732130192

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 4 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/9732130976

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 4 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/9732130255

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 4 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/9732130623

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 4 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/9732130192

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 4 months ago

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

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

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)

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

github-actions[bot] commented 4 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/9732130593

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 4 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/9732130623

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 4 months ago

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

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

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. [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 6. [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 4 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/9732131010

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 4 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/9732131010

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 4 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/9732130756

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 4 months ago

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

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

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. [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 10. [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 11. [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 4 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/9732131039

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 4 months ago

Run makezero on Repo: https://github.com/tidwall/gjson

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

Expand 1. [gjson.go#L3459:14](https://github.com/tidwall/gjson/blob/master/gjson.go#L3459:14) append to slice `ncomp` with non-zero initialized length, and called by funcs: copy at 2. [gjson.go#L3461:13](https://github.com/tidwall/gjson/blob/master/gjson.go#L3461:13) append to slice `ncomp` with non-zero initialized length, and called by funcs: copy at

Report issue: https://github.com/tidwall/gjson/issues

github-actions[bot] commented 4 months ago

Run makezero on Repo: https://github.com/tidwall/gjson

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

Expand 1. [gjson.go#L3459:14](https://github.com/tidwall/gjson/blob/master/gjson.go#L3459:14) append to slice `ncomp` with non-zero initialized length, and called by funcs: copy at 2. [gjson.go#L3461:13](https://github.com/tidwall/gjson/blob/master/gjson.go#L3461:13) append to slice `ncomp` with non-zero initialized length, and called by funcs: copy at

Report issue: https://github.com/tidwall/gjson/issues

github-actions[bot] commented 4 months ago

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

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

Expand 1. [event.go#L55:25](https://github.com/revel/revel/blob/master/event.go#L55:25) WARNING: could not determine with "initEventList" at is a slice (missing object type) 2. [module.go#L182:22](https://github.com/revel/revel/blob/master/module.go#L182:22) WARNING: could not determine with "CodePaths" at is a slice (missing object type) 3. [module.go#L184:27](https://github.com/revel/revel/blob/master/module.go#L184:27) WARNING: could not determine with "TemplatePaths" at is a slice (missing object type) 4. [module.go#L195:22](https://github.com/revel/revel/blob/master/module.go#L195:22) WARNING: could not determine with "CodePaths" at is a slice (missing object type) 5. [module.go#L199:22](https://github.com/revel/revel/blob/master/module.go#L199:22) WARNING: could not determine with "CodePaths" at is a slice (missing object type)

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

github-actions[bot] commented 4 months ago

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

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

Expand 1. [manifest.go#L283:8](https://github.com/dgraph-io/badger/blob/main/manifest.go#L283:8) append to slice `buf` with non-zero initialized length at 2. [manifest.go#L284:8](https://github.com/dgraph-io/badger/blob/main/manifest.go#L284:8) append to slice `buf` with non-zero initialized length at

Report issue: https://github.com/dgraph-io/badger/issues

github-actions[bot] commented 4 months ago

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

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

Expand 1. [manifest.go#L283:8](https://github.com/dgraph-io/badger/blob/main/manifest.go#L283:8) append to slice `buf` with non-zero initialized length at 2. [manifest.go#L284:8](https://github.com/dgraph-io/badger/blob/main/manifest.go#L284:8) append to slice `buf` with non-zero initialized length at

Report issue: https://github.com/dgraph-io/badger/issues

github-actions[bot] commented 4 months ago

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

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

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)

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

github-actions[bot] commented 4 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/9732131311

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 4 months ago

Run makezero on Repo: https://github.com/git-lfs/git-lfs

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

Expand 1. [commands/command_fetch.go#L81:15](https://github.com/git-lfs/git-lfs/blob/main/commands/command_fetch.go#L81:15) append to slice `refShas` with non-zero initialized length at

Report issue: https://github.com/git-lfs/git-lfs/issues

github-actions[bot] commented 4 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/9732131311

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 4 months ago

Run makezero on Repo: https://github.com/git-lfs/git-lfs

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

Expand 1. [commands/command_fetch.go#L81:15](https://github.com/git-lfs/git-lfs/blob/main/commands/command_fetch.go#L81:15) append to slice `refShas` with non-zero initialized length at

Report issue: https://github.com/git-lfs/git-lfs/issues

github-actions[bot] commented 4 months ago

Run makezero on Repo: https://github.com/pion/webrtc

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

Expand 1. [peerconnection.go#L2066:14](https://github.com/pion/webrtc/blob/master/peerconnection.go#L2066:14) append to slice `closeErrs` with non-zero initialized length at 2. [peerconnection.go#L2072:16](https://github.com/pion/webrtc/blob/master/peerconnection.go#L2072:16) append to slice `closeErrs` with non-zero initialized length at 3. [peerconnection.go#L2086:15](https://github.com/pion/webrtc/blob/master/peerconnection.go#L2086:15) append to slice `closeErrs` with non-zero initialized length at 4. [peerconnection.go#L2090:14](https://github.com/pion/webrtc/blob/master/peerconnection.go#L2090:14) append to slice `closeErrs` with non-zero initialized length at 5. [peerconnection.go#L2094:15](https://github.com/pion/webrtc/blob/master/peerconnection.go#L2094:15) append to slice `closeErrs` with non-zero initialized length at

Report issue: https://github.com/pion/webrtc/issues

github-actions[bot] commented 4 months ago

Run makezero on Repo: https://github.com/pion/webrtc

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

Expand 1. [peerconnection.go#L2066:14](https://github.com/pion/webrtc/blob/master/peerconnection.go#L2066:14) append to slice `closeErrs` with non-zero initialized length at 2. [peerconnection.go#L2072:16](https://github.com/pion/webrtc/blob/master/peerconnection.go#L2072:16) append to slice `closeErrs` with non-zero initialized length at 3. [peerconnection.go#L2086:15](https://github.com/pion/webrtc/blob/master/peerconnection.go#L2086:15) append to slice `closeErrs` with non-zero initialized length at 4. [peerconnection.go#L2090:14](https://github.com/pion/webrtc/blob/master/peerconnection.go#L2090:14) append to slice `closeErrs` with non-zero initialized length at 5. [peerconnection.go#L2094:15](https://github.com/pion/webrtc/blob/master/peerconnection.go#L2094:15) append to slice `closeErrs` with non-zero initialized length at

Report issue: https://github.com/pion/webrtc/issues

github-actions[bot] commented 4 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/9732129891

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 4 months ago

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

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

Expand 1. [internal/sheets/load.go#L91:12](https://github.com/cheat/cheat/blob/master/internal/sheets/load.go#L91:12) append to slice `sheets` with non-zero initialized length at

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