Sprintf is a wrapper for fmt.Sprintf that treats each argument as if it were passed with a default Formatter interface returned by NewFormatter. It returns the resulting string. See NewFormatter for formatting details. This function is shorthand for the following syntax: fmt.Sprintf(format, spe
(format string, a ...interface{})
| 123 | // |
| 124 | // fmt.Sprintf(format, spew.NewFormatter(a), spew.NewFormatter(b)) |
| 125 | func Sprintf(format string, a ...interface{}) string { |
| 126 | return fmt.Sprintf(format, convertArgs(a)...) |
| 127 | } |
| 128 | |
| 129 | // Sprintln is a wrapper for fmt.Sprintln that treats each argument as if it |
| 130 | // were passed with a default Formatter interface returned by NewFormatter. It |
searching dependent graphs…