Println is a wrapper for fmt.Println 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
(a ...interface{})
| 101 | // |
| 102 | // fmt.Println(spew.NewFormatter(a), spew.NewFormatter(b)) |
| 103 | func Println(a ...interface{}) (n int, err error) { |
| 104 | return fmt.Println(convertArgs(a)...) |
| 105 | } |
| 106 | |
| 107 | // Sprint is a wrapper for fmt.Sprint that treats each argument as if it were |
| 108 | // passed with a default Formatter interface returned by NewFormatter. It |