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)
| 175 | // Spaces are added between operands when neither is a string. |
| 176 | // It returns the number of bytes written and any write error encountered. |
| 177 | func (p *HeaderPrinter) Print(a ...any) *TextPrinter { |
| 178 | Fprint(p.Writer, p.Sprint(a...)) |
| 179 | tp := TextPrinter(p) |
| 180 | return &tp |
| 181 | } |
| 182 | |
| 183 | // Println formats using the default formats for its operands and writes to standard output. |
| 184 | // Spaces are always added between operands and a newline is appended. |
nothing calls this directly
no test coverage detected