1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/modules/templates
wxiaoguang 43c7a2e7b1
Refactor names (#31405)
This PR only does "renaming":

* `Route` should be `Router` (and chi router is also called "router")
* `Params` should be `PathParam` (to distingush it from URL query param, and to match `FormString`)
* Use lower case for private functions to avoid exposing or abusing
2024-06-19 06:32:45 +08:00
..
eval
scopedtmpl Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
vars
base.go Replace util.SliceXxx with slices.Xxx (#26958) 2023-09-07 09:37:47 +00:00
dynamic.go
helper_test.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
helper.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
htmlrenderer_test.go
htmlrenderer.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
mailer.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
static.go
templates_bindata.go
util_avatar.go Fix default avatar image size in PR diff page (#28971) 2024-02-02 10:01:11 +00:00
util_dict.go Use Set[Type] instead of map[Type]bool/struct{}. (#26804) 2023-08-30 06:55:25 +00:00
util_json.go
util_misc.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
util_render_test.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
util_render.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
util_slice.go
util_string.go Refactor some Str2html code (#29397) 2024-03-01 07:11:51 +00:00
util_test.go