Printfln formats according to a format specifier and writes to standard output. Spaces are always added between operands and a newline is appended. It returns the number of bytes written and any write error encountered.
(format string, a ...any)
| 70 | // Spaces are always added between operands and a newline is appended. |
| 71 | // It returns the number of bytes written and any write error encountered. |
| 72 | func Printfln(format string, a ...any) { |
| 73 | Print(Sprintfln(format, a...)) |
| 74 | } |
| 75 | |
| 76 | // PrintOnError prints every error which is not nil. |
| 77 | // If every error is nil, nothing will be printed. |
searching dependent graphs…