forgejo-federation/modules/templates
Lunny Xiao 9d99f6ab19
Refactor renders (#15175)
* Refactor renders

* Some performance optimization

* Fix comment

* Transform reader

* Fix csv test

* Fix test

* Fix tests

* Improve optimaziation

* Fix test

* Fix test

* Detect file encoding with reader

* Improve optimaziation

* reduce memory usage

* improve code

* fix build

* Fix test

* Fix for go1.15

* Fix render

* Fix comment

* Fix lint

* Fix test

* Don't use NormalEOF when unnecessary

* revert change on util.go

* Apply suggestions from code review

Co-authored-by: zeripath <art27@cantab.net>

* rename function

* Take NormalEOF back

Co-authored-by: zeripath <art27@cantab.net>
2021-04-19 18:25:08 -04:00
..
base.go Prevent template renderer from rendering error (#14646) 2021-02-13 19:41:53 +00:00
dynamic.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
helper.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
helper_test.go Use templates for issue e-mail subject and body (#8329) 2019-11-07 21:34:28 +08:00
static.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
templates_bindata.go Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00