Sprint is a wrapper for fmt.Sprint 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.Sprint(spew.NewFormat
(a ...interface{})
| 112 | // |
| 113 | // fmt.Sprint(spew.NewFormatter(a), spew.NewFormatter(b)) |
| 114 | func Sprint(a ...interface{}) string { |
| 115 | return fmt.Sprint(convertArgs(a)...) |
| 116 | } |
| 117 | |
| 118 | // Sprintf is a wrapper for fmt.Sprintf that treats each argument as if it were |
| 119 | // passed with a default Formatter interface returned by NewFormatter. It |