Sprintf is a wrapper for fmt.Sprintf that treats each argument as if it were passed with a Formatter interface returned by c.NewFormatter. It returns the resulting string. See NewFormatter for formatting details.
This function is shorthand for the following syntax:
fmt.Sprintf(format, c.NewFormatter(a), c.NewFormatter(b))
Sprintf is referenced in 8 repositoriesgithub.com/davecgh/go-spew
- 1 reference in spew/spew_test.go
- 1 reference in src/github.com/davecgh/go-spew/spew/spew_test.go