Introduce `AvatarUtils`, no need to pass `$.Context` to every sub-template, and simplify the template helper functions. |
||
|---|---|---|
| .. | ||
| eval | ||
| scopedtmpl | ||
| vars | ||
| base.go | ||
| dynamic.go | ||
| helper.go | ||
| helper_test.go | ||
| htmlrenderer.go | ||
| htmlrenderer_test.go | ||
| mailer.go | ||
| static.go | ||
| templates_bindata.go | ||
| util_avatar.go | ||
| util_dict.go | ||
| util_json.go | ||
| util_misc.go | ||
| util_render.go | ||
| util_render_test.go | ||
| util_slice.go | ||
| util_string.go | ||
| util_test.go | ||