Versions in this module Expand all Collapse all v0 v0.18.0 Apr 6, 2018 v0.17.0 Nov 30, 2017 v0.16.0 Nov 16, 2017 Changes in this version + func Substitute(template string, mapping Mapping) (string, error) + type InvalidTemplateError struct + Template string + func (e InvalidTemplateError) Error() string + type Mapping func(string) (string, bool)