gitea/models/user
silverwind a9108ab6aa
Replace custom Go formatter with `golangci-lint fmt` (#37194)
Use `golangci-lint fmt` to format code, replacing the previous custom
formatter tool. https://github.com/daixiang0/gci is used to order the
imports.

`make fmt` performs ~13% faster while consuming ~57% less cpu while
formatting for me.

`GOFUMPT_PACKAGE` is gone because it's using the builtin package from
golangci-lint.

Co-authored-by: Claude (claude-opus-4-6) <noreply@anthropic.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-04-17 17:45:22 +00:00
..
avatar.go Refactor avatar package, support default avatar fallback (#36788) 2026-03-01 13:32:35 +00:00
avatar_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
badge.go Add user badges (#36752) 2026-03-22 15:49:45 +00:00
badge_test.go Add user badges (#36752) 2026-03-22 15:49:45 +00:00
block.go Enable `nilnil` linter for new code (#36591) 2026-02-16 09:57:18 +00:00
email_address.go Enable `nilnil` linter for new code (#36591) 2026-02-16 09:57:18 +00:00
email_address_test.go Fix a bug user could change another user's primary email (#36586) 2026-02-12 21:34:38 +01:00
error.go
external_login_user.go
follow.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
follow_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
list.go Correct spelling (#36783) 2026-02-28 11:23:20 -08:00
main_test.go
must_change_password.go Refactor error system (#33771) 2025-03-03 05:36:10 +00:00
openid.go Fix openid setting check (#36346) 2026-01-13 12:44:29 +00:00
openid_test.go Fix openid setting check (#36346) 2026-01-13 12:44:29 +00:00
redirect.go
redirect_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
search.go Add sorting/filtering to admin user search API endpoint (#36112) 2025-12-12 05:12:06 +01:00
setting.go feat: Add configurable permissions for Actions automatic tokens (#36173) 2026-03-21 15:39:47 -07:00
setting_options.go feat: Add configurable permissions for Actions automatic tokens (#36173) 2026-03-21 15:39:47 -07:00
setting_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
user.go Replace custom Go formatter with `golangci-lint fmt` (#37194) 2026-04-17 17:45:22 +00:00
user_list.go Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +00:00
user_system.go Refactor ActionsTaskID (#36503) 2026-01-31 22:01:08 -08:00
user_system_test.go Refactor ActionsTaskID (#36503) 2026-01-31 22:01:08 -08:00
user_test.go use proper subaddress (#36639) 2026-02-16 01:42:22 +00:00
user_update.go