func mapInterpolate(text []byte, m map[string]string) ([]byte, error) {
	for variable, value := range m {
		var err error
		text, err = interpolate(text, variable, value)
		if err != nil {
			return nil, err
		}
	}

	return text, nil
}
// mapInterpolate runs interpolation over a map from variable name to value.
mapInterpolate runs interpolation over a map from variable name to value.
// mapInterpolate runs interpolation over a map from variable name to value .
func mapInterpolate(text []byte, m map[string]string) ([]byte, error) {
	for variable, value := range m {
		var err error
		text, err = interpolate(text, variable, value)
		if err != nil {
			return nil, err
		}
	}
	return text, nil
}
func mapInterpolate ( text [ ] byte , m map [ string ] string ) ( [ ] byte , error ) { for variable , value := range m { var err error text , err = interpolate ( text , variable , value ) if err != nil { return nil , err } } return text , nil }
mapInterpolate runs interpolation over a map from variable name to value.
mapInterpolate runs interpolation over a map from variable name to value .