mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-04 16:29:37 +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`. |
||
---|---|---|
.. | ||
assignee.go | ||
assignee_test.go | ||
comments.go | ||
commit.go | ||
commit_test.go | ||
content.go | ||
issue.go | ||
issue_test.go | ||
label.go | ||
label_test.go | ||
main_test.go | ||
milestone.go | ||
milestone_test.go | ||
status.go | ||
template.go |