Fprintf is a wrapper for fmt.Fprintf 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 foll
(w io.Writer, format string, a ...interface{})
| 54 | // |
| 55 | // fmt.Fprintf(w, format, spew.NewFormatter(a), spew.NewFormatter(b)) |
| 56 | func Fprintf(w io.Writer, format string, a ...interface{}) (n int, err error) { |
| 57 | return fmt.Fprintf(w, format, convertArgs(a)...) |
| 58 | } |
| 59 | |
| 60 | // Fprintln is a wrapper for fmt.Fprintln that treats each argument as if it |
| 61 | // passed with a default Formatter interface returned by NewFormatter. See |
searching dependent graphs…