MCPcopy Create free account
hub / github.com/cockroachdb/redact / Print

Method Print

interfaces/interfaces.go:78–78  ·  view source on GitHub ↗

Print emits its arguments separated by spaces. For each argument it dynamically checks for the SafeFormatter or SafeValue interface and either use that, or mark the argument payload as unsafe.

(args ...interface{})

Source from the content-addressed store, hash-verified

76 // SafeValue interface and either use that, or mark the argument
77 // payload as unsafe.
78 Print(args ...interface{})
79
80 // For printf, a linter checks that the format string is
81 // a constant literal, so the implementation can assume it's always

Callers 6

TestPrinterFunction · 0.65
TestPrinterSpaceOmissionFunction · 0.65
JoinToFunction · 0.65
SafeFormatMethod · 0.65
SafeFormatMethod · 0.65
SafeFormatMethod · 0.65

Implementers 2

ppinternal/rfmt/print.go
StringBuilderbuilder/builder.go

Calls

no outgoing calls

Tested by 2

TestPrinterFunction · 0.52
TestPrinterSpaceOmissionFunction · 0.52