gitea/services/mailer
Lunny Xiao 9d99f6ab19
Refactor renders ()
* 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>
..
mail.go Refactor renders ()
mail_comment.go [refactor] mailer service ()
mail_issue.go Refactor renders ()
mail_release.go Refactor renders ()
mail_repo.go [refactor] mailer service ()
mail_test.go Refactor renders ()
mailer.go [refactor] mailer service ()
main_test.go Move all mail related codes from models to services/mailer ()