replacing placeholders in a template faster than strings.replace / regexp.ReplaceAllStringFunc