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

Function Println

internal/spew/spew.go:103–105  ·  view source on GitHub ↗

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{})

Source from the content-addressed store, hash-verified

101//
102// fmt.Println(spew.NewFormatter(a), spew.NewFormatter(b))
103func 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

Callers 1

TestSpewFunction · 0.92

Calls 2

convertArgsFunction · 0.85
PrintlnMethod · 0.80

Tested by 1

TestSpewFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…