Open chuangjinglu opened 1 month ago
https://github.com/alist-org/alist
以下是 go-critic 产生的错误:
https://github.com/usememos/memos
以下是 go-critic 产生的错误:
https://github.com/labstack/echo
以下是 go-critic 产生的错误:
./bind.go:160:4: ifElseChain: rewrite if-else to switch statement
./echo.go:157:1: deprecatedComment: the proper format is `Deprecated: <text>`
./router.go:682:4: assignOp: replace `searchIndex = searchIndex + i` with `searchIndex += i`
./router.go:635:3: assignOp: replace `searchIndex = searchIndex + lcpLen` with `searchIndex += lcpLen`
./router.go:625:5: commentFormatting: put a space between `//` and comment text
./router.go:386:10: elseif: can replace 'else {if cond {}}' with 'else if cond {}'
./router.go:284:3: ifElseChain: rewrite if-else to switch statement
./router.go:620:4: ifElseChain: rewrite if-else to switch statement
./router.go:714:3: ifElseChain: rewrite if-else to switch statement
./binder_test.go:21:24: captLocal: `URL' should not be capitalized
./router_test.go:408:3: commentFormatting: put a space between `//` and comment text
./router_test.go:2544:2: commentFormatting: put a space between `//` and comment text
./router_test.go:2550:2: commentFormatting: put a space between `//` and comment text
./router_test.go:2557:2: commentFormatting: put a space between `//` and comment text
./router_test.go:2595:3: commentFormatting: put a space between `//` and comment text
https://github.com/go-gitea/gitea
以下是 go-critic 产生的错误:
https://github.com/milvus-io/milvus
以下是 go-critic 产生的错误:
./rules.go:295:1: commentFormatting: put a space between `//` and comment text
https://github.com/hashicorp/terraform
以下是 go-critic 产生的错误:
./main.go:274:28: wrapperFunc: use strings.ReplaceAll method in `strings.Replace(
cliRunner.Subcommand(), "-", "_", -1)`
./main.go:274:12: wrapperFunc: use strings.ReplaceAll method in `strings.Replace(strings.Replace(
cliRunner.Subcommand(), "-", "_", -1), " ", "_", -1)`
https://github.com/gofiber/fiber
以下是 go-critic 产生的错误:
./app_test.go:589:13: appendAssign: append result not assigned to the same slice
./app_test.go:1484:13: appendAssign: append result not assigned to the same slice
./ctx_test.go:1515:3: commentFormatting: put a space between `//` and comment text
https://github.com/cockroachdb/cockroach
以下是 go-critic 产生的错误:
https://github.com/hashicorp/vault
以下是 go-critic 产生的错误:
https://github.com/avelino/awesome-go
以下是 go-critic 产生的错误:
https://github.com/syncthing/syncthing
以下是 go-critic 产生的错误:
https://github.com/prometheus/prometheus
以下是 go-critic 产生的错误:
https://github.com/caddyserver/caddy
以下是 go-critic 产生的错误:
./listeners.go:660:40: argOrder: "ip4:" and network arguments order looks reversed
./listeners.go:660:78: argOrder: "ip6:" and network arguments order looks reversed
./listeners.go:660:3: argOrder: "ip:" and network arguments order looks reversed
https://github.com/ollama/ollama
以下是 go-critic 产生的错误:
https://github.com/jesseduffield/lazygit
以下是 go-critic 产生的错误:
https://github.com/FiloSottile/mkcert
以下是 go-critic 产生的错误:
https://github.com/traefik/traefik
以下是 go-critic 产生的错误:
https://github.com/astaxie/build-web-application-with-golang
以下是 go-critic 产生的错误:
https://github.com/ethereum/go-ethereum
以下是 go-critic 产生的错误:
https://github.com/kubernetes/kubernetes
以下是 go-critic 产生的错误:
https://github.com/v2ray/v2ray-core
以下是 go-critic 产生的错误:
https://github.com/coreybutler/nvm-windows
以下是 go-critic 产生的错误:
https://github.com/evanw/esbuild
以下是 go-critic 产生的错误:
https://github.com/rclone/rclone
以下是 go-critic 产生的错误:
https://github.com/jesseduffield/lazydocker
以下是 go-critic 产生的错误:
https://github.com/halfrost/LeetCode-Go
以下是 go-critic 产生的错误:
https://github.com/photoprism/photoprism
以下是 go-critic 产生的错误:
https://github.com/pocketbase/pocketbase
以下是 go-critic 产生的错误:
https://github.com/harness/harness
以下是 go-critic 产生的错误:
https://github.com/unknwon/the-way-to-go_ZH_CN
以下是 go-critic 产生的错误:
https://github.com/docker/compose
以下是 go-critic 产生的错误:
Go-Critic 静态分析报告
项目路径
https://github.com/harness/harness
以下是 go-critic 产生的错误:
harness 错误:
报告内容
harness 报告: