Printf formats according to a format specifier and writes to standard output. It returns the number of bytes written and any write error encountered.
(format string, a ...any)
| 63 | // Printf formats according to a format specifier and writes to standard output. |
| 64 | // It returns the number of bytes written and any write error encountered. |
| 65 | func Printf(format string, a ...any) { |
| 66 | Print(Sprintf(format, a...)) |
| 67 | } |
| 68 | |
| 69 | // Printfln formats according to a format specifier and writes to standard output. |
| 70 | // Spaces are always added between operands and a newline is appended. |
searching dependent graphs…