MCPcopy
hub / github.com/pterm/pterm / Sprintfln

Method Sprintfln

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

Sprintfln formats according to a format specifier and returns the resulting string. Spaces are always added between operands and a newline is appended.

(format string, a ...any)

Source from the content-addressed store, hash-verified

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.
18 Sprintfln(format string, a ...any) string
19
20 // Print formats using the default formats for its operands and writes to standard output.
21 // Spaces are added between operands when neither is a string.

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