0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-23 06:15:56 -05:00
Commit graph

1 commit

Author SHA1 Message Date
Gusted
ac462279e9
[LINT] Add deadcode linter
- Add the experimental
[deacode](https://pkg.go.dev/golang.org/x/tools/internal/cmd/deadcode)
linter to Forgejo.
- To deal with false positives that can happen due to build tags or with code
that's currently only referenced by test code, the output of the tool is
compared against a known-good output.
- This commit doesn't make any attempt to remove any deadcode.
2023-11-02 12:13:26 +01:00