forgejo/services/forms
Gusted 77dbc35138 chore: add modernizer linter (#11936)
- Go has a suite of small linters that helps with modernizing Go code by using newer functions and catching small mistakes, https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/modernize.
- Enable this linter in golangci-lint.
- There's also [`go fix`](https://go.dev/blog/gofix), which is not yet released as a linter in golangci-lint: https://github.com/golangci/golangci-lint/pull/6385

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11936
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2026-04-02 03:29:37 +02:00
..
admin.go feat: Add support for administrators to set email visibility on user accounts (#9668) 2025-10-15 03:21:15 +02:00
auth_form.go fix: improve OAuth2 experience (#11715) 2026-03-17 18:44:23 +01:00
avatar.go fix: skip repo avatar upload when no file is selected (#11335) 2026-03-07 20:53:23 +01:00
org.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
package_form.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
repo_branch_form.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
repo_form.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
repo_form_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
repo_tag_form.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
report_abuse.go feat!: Abusive content reporting (#6977) 2025-05-18 08:05:16 +00:00
runner.go feat: add form-based runner management (#11516) 2026-03-12 02:14:45 +01:00
secret.go feat: allow renaming and replacing secrets (#11732) 2026-03-23 03:30:02 +01:00
user_form.go feat(ui): create repo-specific access tokens (#11696) 2026-03-23 15:29:08 +01:00
user_form_auth_openid.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
user_form_hidden_comments.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
user_form_test.go feat(ui): create repo-specific access tokens (#11696) 2026-03-23 15:29:08 +01:00