1.2.0
Template data may now be passed into a Tfunc as a struct (previously only maps were supported).
// These will print the same thing
fmt.Println(T("person_greeting", map[string]interface{}{"Person": "Bob"}))
fmt.Println(T("person_greeting", struct{ Person string }{Person: "Bob"}))
New language support
- Thai (
th
)
Thanks to those who contributed!
@parkr @ExUltima