MCPcopy Index your code
hub / github.com/DoNewsCode/core / BasePrinter

Struct BasePrinter

text/printer.go:13–13  ·  view source on GitHub ↗

BasePrinter is the default printer for common use. It uses fmt.Sprintf underneath.

Source from the content-addressed store, hash-verified

11
12// BasePrinter is the default printer for common use. It uses fmt.Sprintf underneath.
13type BasePrinter struct{}
14
15// Sprintf formats according to a format specifier and returns the resulting string.
16func (BasePrinter) Sprintf(msg string, val ...interface{}) string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected