Printf is a wrapper for fmt.Printf that treats each argument as if it were passed with a default Formatter interface returned by NewFormatter. It returns the number of bytes written and any write error encountered. See NewFormatter for formatting details. This function is shorthand for the follow
(format string, a ...interface{})
| 89 | // |
| 90 | // fmt.Printf(format, spew.NewFormatter(a), spew.NewFormatter(b)) |
| 91 | func Printf(format string, a ...interface{}) (n int, err error) { |
| 92 | return fmt.Printf(format, convertArgs(a)...) |
| 93 | } |
| 94 | |
| 95 | // Println is a wrapper for fmt.Println that treats each argument as if it were |
| 96 | // passed with a default Formatter interface returned by NewFormatter. It |
searching dependent graphs…