Process maps variables from global configuration and block passed in NewMap. If Map instance was not created using NewMap - Process panics.
()
| 646 | // |
| 647 | // If Map instance was not created using NewMap - Process panics. |
| 648 | func (m *Map) Process() (unknown []Node, err error) { |
| 649 | return m.ProcessWith(m.Globals, m.Block) |
| 650 | } |
| 651 | |
| 652 | // Process maps variables from global configuration and block passed in arguments. |
| 653 | func (m *Map) ProcessWith(globalCfg map[string]interface{}, block Node) (unknown []Node, err error) { |