package liquid type context struct { bindings map[string]interface{} } // NewContext creates a new context from a variable binding map. func NewContext(bindings map[string]interface{}) Context { return &context{bindings} } // Bindings is in the Render interface. func (c *context) Bindings() map[string]interface{} { return c.bindings }