Versions in this module Expand all Collapse all v0 v0.5.7 Jun 14, 2021 Changes in this version + var ErrEmptyFormat = errors.New("format: cannot compile an empty format") + var UtilFuncs = template.FuncMap + type Format struct + CompiledFormat *template.Template + FormatString string + func (f *Format) Compile(name string, root *template.Template, funcMaps ...template.FuncMap) error + func (f *Format) Execute(data interface{}) (string, error) + func (f *Format) ExecuteBytes(data interface{}) ([]byte, error) + type Storage struct + func (s *Storage) Delete(name string) string + func (s *Storage) GetBool(name string, def bool) bool + func (s *Storage) GetInt(name string, def int) int + func (s *Storage) GetString(name, def string) string + func (s *Storage) SetBool(name string, data bool) bool + func (s *Storage) SetInt(name string, i int) int + func (s *Storage) SetString(name, data string) string v0.5.6 Sep 25, 2020