gitea/models/db
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
..
install Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
paginator
collation.go Enable `nilnil` linter for new code (#36591) 2026-02-16 09:57:18 +00:00
common.go feat(db): Improve BuildCaseInsensitiveLike with lowercase (#36598) 2026-02-14 07:40:59 +00:00
consistency.go Fix oauth2 builtin application logic (#30304) 2024-04-08 04:13:34 +00:00
context.go Refactor db package (#35380) 2025-08-30 01:04:06 +08:00
context_committer_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
context_test.go Refactor db package (#35380) 2025-08-30 01:04:06 +08:00
convert.go Fix various trivial problems (#36953) 2026-03-23 18:23:42 +00:00
engine.go Replace custom Go formatter with `golangci-lint fmt` (#37194) 2026-04-17 17:45:22 +00:00
engine_dump.go Refactor db package and remove unnecessary `DumpTables` (#32930) 2024-12-20 16:11:38 +00:00
engine_hook.go Improve log format (#33814) 2025-03-08 21:47:11 +08:00
engine_init.go chore: add comments for "api/healthz", clean up test env (#36481) 2026-01-30 10:23:38 +08:00
engine_test.go Refactor db package (#35380) 2025-08-30 01:04:06 +08:00
error.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
index.go Refactor db package (#35380) 2025-08-30 01:04:06 +08:00
index_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
iterate.go Fix db engine (#32351) 2024-10-27 18:48:07 -04:00
iterate_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
list.go Fix joins in `db.Find(AndCount)` (#28978) 2024-01-30 02:37:24 +00:00
list_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
log.go Fix various typos in codebase (#35480) 2025-09-13 10:34:43 -04:00
main_test.go
name.go Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +00:00
search.go Allow filtering issues by any assignee (#33343) 2025-03-21 04:25:36 +00:00
sequence.go Refactor db package and remove unnecessary `DumpTables` (#32930) 2024-12-20 16:11:38 +00:00
sql_postgres_with_schema.go enforce explanation for necessary nolints and fix bugs (#34883) 2025-06-27 21:48:03 +08:00