gitea/modules/templates
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
..
eval Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +00:00
scopedtmpl Refactor template render (#36438) 2026-01-24 05:11:49 +00:00
vars Refactor template render (#36438) 2026-01-24 05:11:49 +00:00
base.go Refactor template render (#36438) 2026-01-24 05:11:49 +00:00
helper.go Use Content-Security-Policy: script nonce (#37232) 2026-04-15 20:07:57 +00:00
helper_test.go Refactor flash message and remove SanitizeHTML template func (#37179) 2026-04-12 10:17:25 +08:00
htmlrenderer.go Fix CodeQL code scanning alerts (#36858) 2026-03-08 14:35:50 +00:00
htmlrenderer_test.go
mail.go Refactor flash message and remove SanitizeHTML template func (#37179) 2026-04-12 10:17:25 +08:00
page.go Clean up AppURL, remove legacy origin-url webcomponent (#37090) 2026-04-03 17:56:31 +00:00
templates_bindata.go Replace custom Go formatter with `golangci-lint fmt` (#37194) 2026-04-17 17:45:22 +00:00
templates_dynamic.go Refactor embedded assets and drop unnecessary dependencies (#34692) 2025-06-12 03:59:33 +00:00
util_avatar.go fix(repo): unify DEFAULT_SHOW_FULL_NAME output in templates and dropdown (#36597) 2026-03-04 21:23:17 +08:00
util_date.go Use `relative-time` to render absolute dates (#36238) 2026-02-16 10:58:04 +00:00
util_date_test.go Use `relative-time` to render absolute dates (#36238) 2026-02-16 10:58:04 +00:00
util_dict.go
util_format.go
util_format_test.go Fix some overflows in test (#35315) 2025-08-20 15:20:22 +00:00
util_json.go enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
util_misc.go Load `mentionValues` asynchronously (#36739) 2026-03-07 12:37:37 -08:00
util_render.go Refactor flash message and remove SanitizeHTML template func (#37179) 2026-04-12 10:17:25 +08:00
util_render_comment.go Improve timeline entries for WIP prefix changes in pull requests (#36518) 2026-02-05 05:57:08 +00:00
util_render_comment_test.go Improve timeline entries for WIP prefix changes in pull requests (#36518) 2026-02-05 05:57:08 +00:00
util_render_test.go Improve `labels-list` rendering (#34846) 2025-06-27 23:12:25 +08:00
util_slice.go
util_string.go
util_test.go