MCPcopy
hub / github.com/pterm/pterm / Print

Method Print

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

Print formats using the default formats for its operands and writes to standard output. Spaces are added between operands when neither is a string. It returns the number of bytes written and any write error encountered.

(a ...any)

Source from the content-addressed store, hash-verified

21 // Spaces are added between operands when neither is a string.
22 // It returns the number of bytes written and any write error encountered.
23 Print(a ...any) *TextPrinter
24
25 // Println formats using the default formats for its operands and writes to standard output.
26 // Spaces are always added between operands and a newline is appended.

Callers 15

TestRGB_PrintFunction · 0.65
HandleMethod · 0.65
ShowMethod · 0.65
ShowMethod · 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