Type safe and modularize way to generate html on server side.

45 views
Skip to first unread message

Felix Sun

unread,
May 8, 2019, 10:46:33 PM5/8/19
to golang-nuts

A few benefits with this approach than html/template

- Compiled type safe
- Fast as go itself
- Not possible to generate unmatched html tags
- No need to manage template files, and caring about it's path etc
- Easier to modularize, any component can be purely funcs
Reply all
Reply to author
Forward
0 new messages