Hi @benbjohnson,
could you please take a look at my fork (https://github.com/SlinSo/egon), that is unfortunately based on another fork (https://github.com/commondream/egon). I would like to know, if it is worth to rebase everything to your original version of ego.
I've made this fork after playing around with some bechmarks I made (https://github.com/SlinSo/goTemplateBenchmark)
I've added a few features and optimisations:
- Added flags to the egon command (based on kingpin package)
- Added type safe generation like in ftmpl
- Added Debug mode, otherwise dont print comments inside generated functions
- Added string optimisation, removed Sprintf for strings
- Added examples for framework integration
- Added minify, currently only tested with HTML code
- Added optional view generation (only needed for egon fork)
- Reverted fmt.Fprintf -> io.WriteString to avoid unnecessary allocations (only needed for egon fork)
Hi @benbjohnson,
could you please take a look at my fork (https://github.com/SlinSo/egon), that is unfortunately based on another fork (https://github.com/commondream/egon). I would like to know, if it is worth to rebase everything to your original version of ego.
I've made this fork after playing around with some bechmarks I made (https://github.com/SlinSo/goTemplateBenchmark)
I've added a few features and optimisations: