code: func Substitute(template string, mapping Mapping) (string, error) {
  	return SubstituteWith(template, mapping, defaultPattern, DefaultSubstituteFuncs...)
  }
docs: // Substitute variables in the string with their values