Versions in this module Expand all Collapse all v1 v1.0.1 May 23, 2020 v1.0.0 Apr 20, 2020 Changes in this version + func RenderString(templateString string, data interface{}) (string, error) + func ToLocalTime(in *pongo2.Value, param *pongo2.Value) (*pongo2.Value, *pongo2.Error) + func ToLocationTime(in *pongo2.Value, param *pongo2.Value) (*pongo2.Value, *pongo2.Error) + type PongoOption struct + ContentType string + Extensions []string + TemplatePath string + type PongoTemplate struct + Data interface{} + Option *PongoOption + Template *pongo2.Template + func NewPongoTemplate(args ...*PongoOption) *PongoTemplate + func (p PongoTemplate) CompileTemplate() + func (p PongoTemplate) Instance(templateName string, data interface{}) render.Render + func (p PongoTemplate) LoadTemplate(templatePath string) + func (p PongoTemplate) Render(w http.ResponseWriter) error + func (p PongoTemplate) WriteContentType(w http.ResponseWriter)