自 v2.13 以来的 staticcheck SA4023 峰值内存

作者: Watari995创建于 2026年9月25日更新于 2026年9月25日
标签bug
yaml
version: "2"
linters:
  default: none
  enable:
    - staticcheck
# for the "SA4023 disabled" runs:
#   settings:
#     staticcheck:
#       checks: ["all", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022", "-SA4023"]
go version go1.26.1 darwin/arm64

(Full go env omitted; default settings, GOTOOLCHAIN pinned to go1.26.1.)

Output of golangci-lint cache clean && golangci-lint run -v on Kubernetes v1.36.5 with …

内容来源: golangci/golangci-lint