Print formats using the default formats for its operands and writes to provided writer. Spaces are added between operands when neither is a string. It returns the number of bytes written and any write error encountered.
(a ...any)
| 59 | // Spaces are added between operands when neither is a string. |
| 60 | // It returns the number of bytes written and any write error encountered. |
| 61 | func (p *BasicTextPrinter) Print(a ...any) *TextPrinter { |
| 62 | Fprint(p.Writer, p.Sprint(a...)) |
| 63 | tp := TextPrinter(p) |
| 64 | return &tp |
| 65 | } |
| 66 | |
| 67 | // Println formats using the default formats for its operands and writes to provided writer. |
| 68 | // Spaces are always added between operands and a newline is appended. |
nothing calls this directly
no test coverage detected