Sprintf format and return rendered string
(format string, a ...any)
| 99 | |
| 100 | // Sprintf format and return rendered string |
| 101 | func Sprintf(format string, a ...any) string { |
| 102 | return ReplaceTag(fmt.Sprintf(format, a...)) |
| 103 | } |
| 104 | |
| 105 | // String alias of the ReplaceTag |
| 106 | func String(s string) string { return ReplaceTag(s) } |