MCPcopy
hub / github.com/pterm/pterm / Sprintf

Method Sprintf

interface_text_printer.go:14–14  ·  view source on GitHub ↗

Sprintf formats according to a format specifier and returns the resulting string.

(format string, a ...any)

Source from the content-addressed store, hash-verified

12
13 // Sprintf formats according to a format specifier and returns the resulting string.
14 Sprintf(format string, a ...any) string
15
16 // Sprintfln formats according to a format specifier and returns the resulting string.
17 // Spaces are always added between operands and a newline is appended.

Implementers 9

CenterPrintercenter_printer.go
BasicTextPrinterbasic_text_printer.go
PrefixPrinterprefix_printer.go
HeaderPrinterheader_printer.go
BoxPrinterbox_printer.go
ParagraphPrinterparagraph_printer.go
RGBStylergb.go
RGBrgb.go
SectionPrintersection_printer.go

Calls

no outgoing calls