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

Method Printf

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

For printf, a linter checks that the format string is a constant literal, so the implementation can assume it's always safe.

(format string, arg ...interface{})

Source from the content-addressed store, hash-verified

81 // a constant literal, so the implementation can assume it's always
82 // safe.
83 Printf(format string, arg ...interface{})
84
85 // UnsafeString writes an unsafe string.
86 UnsafeString(string)

Callers 5

TestPrinterFunction · 0.65
Example_formatFunction · 0.65
SafeFormatMethod · 0.65
Example_newlinesFunction · 0.65
Example_mixed_writesFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 5

TestPrinterFunction · 0.52
Example_formatFunction · 0.52
SafeFormatMethod · 0.52
Example_newlinesFunction · 0.52
Example_mixed_writesFunction · 0.52