1
1
mirror of https://github.com/go-gitea/gitea synced 2024-09-19 10:16:03 +00:00
gitea/routers/api/v1
silverwind fc2d75f86d
Enable unparam linter (#31277)
Enable [unparam](https://github.com/mvdan/unparam) linter.

Often I could not tell the intention why param is unused, so I put
`//nolint` for those cases like webhook request creation functions never
using `ctx`.

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
2024-06-11 18:47:45 +00:00
..
activitypub Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
admin Resolve lint for unused parameter and unnecessary type arguments (#30750) 2024-04-29 08:47:56 +00:00
misc Refactor cache and disable go-chi cache (#30417) 2024-04-13 08:38:44 +00:00
notify Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
org Fix bug on avatar (#31008) 2024-05-19 12:58:39 +08:00
packages remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
repo Enable unparam linter (#31277) 2024-06-11 18:47:45 +00:00
settings Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
shared Update misspell to 0.5.1 and add misspellings.csv (#30573) 2024-04-27 08:03:49 +00:00
swagger Add API endpoints for getting action jobs status (#26673) 2024-05-01 09:40:23 +08:00
user Fix bug on avatar (#31008) 2024-05-19 12:58:39 +08:00
utils Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
api.go Add API endpoints for getting action jobs status (#26673) 2024-05-01 09:40:23 +08:00