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

Function Fprintln

internal/spew/spew.go:67–69  ·  view source on GitHub ↗

Fprintln is a wrapper for fmt.Fprintln that treats each argument as if it passed with a default Formatter interface returned by NewFormatter. See NewFormatter for formatting details. This function is shorthand for the following syntax: fmt.Fprintln(w, spew.NewFormatter(a), spew.NewFormatter(b))

(w io.Writer, a ...interface{})

Source from the content-addressed store, hash-verified

65//
66// fmt.Fprintln(w, spew.NewFormatter(a), spew.NewFormatter(b))
67func Fprintln(w io.Writer, a ...interface{}) (n int, err error) {
68 return fmt.Fprintln(w, convertArgs(a)...)
69}
70
71// Print is a wrapper for fmt.Print that treats each argument as if it were
72// passed with a default Formatter interface returned by NewFormatter. It

Callers 1

TestSpewFunction · 0.92

Calls 2

convertArgsFunction · 0.85
FprintlnMethod · 0.80

Tested by 1

TestSpewFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…