MCPcopy
hub / github.com/pterm/pterm / Sprint

Method Sprint

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

Sprint formats using the default formats for its operands and returns the resulting string. Spaces are added between operands when neither is a string.

(a ...any)

Source from the content-addressed store, hash-verified

5 // Sprint formats using the default formats for its operands and returns the resulting string.
6 // Spaces are added between operands when neither is a string.
7 Sprint(a ...any) string
8
9 // Sprintln formats using the default formats for its operands and returns the resulting string.
10 // Spaces are always added between operands and a newline is appended.

Callers 15

SprintMethod · 0.65
SprintMethod · 0.65
GetFormattedPrefixMethod · 0.65
UpdateTextMethod · 0.65
StartMethod · 0.65
InfoMethod · 0.65
SuccessMethod · 0.65
FailMethod · 0.65

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