Sprintf formats according to a format specifier and returns the resulting string.
(format string, a ...interface{})
| 223 | |
| 224 | // Sprintf formats according to a format specifier and returns the resulting string. |
| 225 | func Sprintf(format string, a ...interface{}) m.RedactableString { |
| 226 | p := newPrinter() |
| 227 | p.doPrintf(format, a) |
| 228 | s := p.buf.TakeRedactableString() |
| 229 | p.free() |
| 230 | return s |
| 231 | } |
| 232 | |
| 233 | // These routines do not take a format string |
| 234 |
no test coverage detected
searching dependent graphs…