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. Input will be colored with the parent Style.
(a ...any)
| 331 | // It returns the number of bytes written and any write error encountered. |
| 332 | // Input will be colored with the parent Style. |
| 333 | func (s Style) Print(a ...any) { |
| 334 | Print(s.Sprint(a...)) |
| 335 | } |
| 336 | |
| 337 | // Println formats using the default formats for its operands and writes to standard output. |
| 338 | // Spaces are always added between operands and a newline is appended. |