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)
| 107 | // Spaces are added between operands when neither is a string. |
| 108 | // It returns the number of bytes written and any write error encountered. |
| 109 | func (p CenterPrinter) Print(a ...any) *TextPrinter { |
| 110 | Fprint(p.Writer, p.Sprint(a...)) |
| 111 | tp := TextPrinter(p) |
| 112 | return &tp |
| 113 | } |
| 114 | |
| 115 | // Println formats using the default formats for its operands and writes to standard output. |
| 116 | // Spaces are always added between operands and a newline is appended. |
nothing calls this directly
no test coverage detected