Fprintln formats using the default formats for its operands and writes to w. Spaces are always added between operands and a newline is appended. It returns the number of bytes written and any write error encountered.
(writer io.Writer, a ...any)
| 149 | // Spaces are always added between operands and a newline is appended. |
| 150 | // It returns the number of bytes written and any write error encountered. |
| 151 | func Fprintln(writer io.Writer, a ...any) { |
| 152 | Fprint(writer, Sprint(a...)+"\n") |
| 153 | } |
| 154 | |
| 155 | // Printo overrides the current line in a terminal. |
| 156 | // If the current line is empty, the text will be printed like with pterm.Print. |
searching dependent graphs…