Modify current template engine wrapper to support more than just `map[string]interface{}` types.
bbuck opened this issue · 1 comments
bbuck commented
The current selected template engine is quick, but only supports map[string]interface{}
types. This should be an obvious limitation, since a lot of the common structures that may need to be rendered are going to be handled as structs and not maps and requiring that all objects have a "build map before use" function or process is just unnecessary overhead. Sure, the reflection will add some weight, but I'd prefer simplicity in that case over tons of extra code.
bbuck commented
Rework template engine wrapper to convert structs and Lua types (if necessary) to map[string]interface{}
.