gitea/services/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 Fix avatar upload error handling (#35887) 2025-11-07 09:44:09 +08:00
block.go
block_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
delete.go Replace custom Go formatter with `golangci-lint fmt` (#37194) 2026-04-17 17:45:22 +00:00
email.go Fix org contact email not clearable once set (#36975) 2026-03-25 15:23:11 +08:00
email_test.go Fix org contact email not clearable once set (#36975) 2026-03-25 15:23:11 +08:00
update.go enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
update_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
user.go Release attachments must belong to the intended repo (#36347) 2026-01-14 11:37:53 -08:00
user_test.go Release attachments must belong to the intended repo (#36347) 2026-01-14 11:37:53 -08:00