Sprint formats using the default formats for its operands and returns the resulting string. Spaces are added between operands when neither is a string.
(a ...any)
| 21 | // Sprint formats using the default formats for its operands and returns the resulting string. |
| 22 | // Spaces are added between operands when neither is a string. |
| 23 | func Sprint(a ...any) string { |
| 24 | return color.Sprint(a...) |
| 25 | } |
| 26 | |
| 27 | // Sprintf formats according to a format specifier and returns the resulting string. |
| 28 | func Sprintf(format string, a ...any) string { |
searching dependent graphs…