MCPcopy
hub / github.com/expr-lang/expr / Print

Function Print

internal/spew/spew.go:79–81  ·  view source on GitHub ↗

Print is a wrapper for fmt.Print 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 followin

(a ...interface{})

Source from the content-addressed store, hash-verified

77//
78// fmt.Print(spew.NewFormatter(a), spew.NewFormatter(b))
79func Print(a ...interface{}) (n int, err error) {
80 return fmt.Print(convertArgs(a)...)
81}
82
83// Printf is a wrapper for fmt.Printf that treats each argument as if it were
84// passed with a default Formatter interface returned by NewFormatter. It

Callers 1

TestSpewFunction · 0.92

Calls 2

convertArgsFunction · 0.85
PrintMethod · 0.80

Tested by 1

TestSpewFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…