MCPcopy
hub / github.com/pterm/pterm / Printf

Method Printf

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

Printf formats according to a format specifier and writes to standard output. It returns the number of bytes written and any write error encountered.

(format string, a ...any)

Source from the content-addressed store, hash-verified

30 // Printf formats according to a format specifier and writes to standard output.
31 // It returns the number of bytes written and any write error encountered.
32 Printf(format string, a ...any) *TextPrinter
33
34 // Printfln formats according to a format specifier and writes to standard output.
35 // 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