MCPcopy
hub / github.com/pterm/pterm / Print

Function Print

print.go:52–54  ·  view source on GitHub ↗

Print formats using the default formats for its operands and writes to standard output. Spaces are added between operands when neither is a string. It returns the number of bytes written and any write error encountered.

(a ...any)

Source from the content-addressed store, hash-verified

50// Spaces are added between operands when neither is a string.
51// It returns the number of bytes written and any write error encountered.
52func Print(a ...any) {
53 Fprint(defaultWriter, a...)
54}
55
56// Println formats using the default formats for its operands and writes to standard output.
57// Spaces are always added between operands and a newline is appended.

Callers 15

TestPrintFunction · 0.92
mainFunction · 0.92
PrintlnMethod · 0.85
PrintMethod · 0.85
PrintfMethod · 0.85
PrintflnMethod · 0.85
PrintMethod · 0.85
PrintfMethod · 0.85
PrintflnMethod · 0.85
PrintlnFunction · 0.85
PrintfFunction · 0.85
PrintflnFunction · 0.85

Calls 1

FprintFunction · 0.85

Tested by 1

TestPrintFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…