mirror of
https://github.com/go-gitea/gitea
synced 2025-01-10 17:54:27 +00:00
6a725b6f9c
Using the Go Official tool `golang.org/x/tools/cmd/deadcode@latest` mentioned by [go blog](https://go.dev/blog/deadcode). Just use `deadcode .` in the project root folder and it gives a list of unused functions. Though it has some false alarms. This PR removes dead code detected in `models/issues`.