Versions in this module Expand all Collapse all v1 v1.0.0 Aug 12, 2017 Changes in this version + var Helpers = HelperMap + func BootstrapFormForHelper(model interface{}, opts tags.Options, help HelperContext) (template.HTML, error) + func BootstrapFormHelper(opts tags.Options, help HelperContext) (template.HTML, error) + func BuffaloRenderer(input string, data map[string]interface{}, helpers map[string]interface{}) (string, error) + func FormForHelper(model interface{}, opts tags.Options, help HelperContext) (template.HTML, error) + func FormHelper(opts tags.Options, help HelperContext) (template.HTML, error) + func Render(input string, ctx *Context) (string, error) + type Context struct + func NewContext() *Context + func NewContextWith(data map[string]interface{}) *Context + func NewContextWithContext(ctx context.Context) *Context + func (c *Context) Has(key string) bool + func (c *Context) New() *Context + func (c *Context) Set(key string, value interface{}) + func (c *Context) Value(key interface{}) interface{} + type HTMLer interface + HTML func() template.HTML + type HelperContext struct + func (h HelperContext) Block() (string, error) + func (h HelperContext) BlockWith(ctx *Context) (string, error) + func (h HelperContext) HasBlock() bool + type HelperMap struct + func NewHelperMap() (HelperMap, error) + func (h *HelperMap) Add(key string, helper interface{}) error + func (h *HelperMap) AddMany(helpers map[string]interface{}) error + func (h HelperMap) Helpers() map[string]interface{} + type Iterator interface + Next func() interface{} + type Template struct + Input string + func NewTemplate(input string) (*Template, error) + func Parse(input string) (*Template, error) + func (t *Template) Clone() *Template + func (t *Template) Exec(ctx *Context) (string, error) + func (t *Template) Parse() error Incompatible versions in this module v2.1.0+incompatible Aug 26, 2017 v2.0.1+incompatible Aug 22, 2017