1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/routers
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
..
api Enable unparam linter (#31277) 2024-06-11 18:47:45 +00:00
common Use repo as of renderctx's member rather than a repoPath on metas (#29222) 2024-05-30 07:04:01 +00:00
install Always load or generate oauth2 jwt secret (#30942) 2024-05-14 14:21:38 +00:00
private Move database operations of merging a pull request to post receive hook and add a transaction (#30805) 2024-05-07 07:36:48 +00:00
utils Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
web Enable unparam linter (#31277) 2024-06-11 18:47:45 +00:00
init.go Make sure git version&feature are always prepared (#30877) 2024-05-06 18:34:16 +02:00