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

Method Sprintf

text/printer.go:9–9  ·  view source on GitHub ↗
(msg string, val ...interface{})

Source from the content-addressed store, hash-verified

7// translate the message and arguments to its Chinese counterpart.
8type Printer interface {
9 Sprintf(msg string, val ...interface{}) string
10}
11
12// BasePrinter is the default printer for common use. It uses fmt.Sprintf underneath.

Callers 15

provideMethod · 0.65
grpcServeMethod · 0.65
provideMongoFactoryFunction · 0.65
ProvideOpentracingFunction · 0.65
InfofMethod · 0.65
provideRedisFactoryFunction · 0.65
NewCleanupCommandFunction · 0.65
PrintfMethod · 0.65
Example_sprintfFunction · 0.65
StringMethod · 0.65
WithTracingFunction · 0.65
AddMethod · 0.65

Implementers 2

testPrinterunierr/error_test.go
BasePrintertext/printer.go

Calls

no outgoing calls

Tested by 1

Example_sprintfFunction · 0.52