GoLang printf

request it (463)
GoLang replacement for PHP's printf [edit | history]

Do you know a GoLang replacement for PHP's printf? Write it!

PHP printf

PHP original manual for printf [ show | php.net ]


(PHP 4, PHP 5, PHP 7)

printfOutput a formatted string


int printf ( string $format [, mixed $args [, mixed $... ]] )

Produces output according to format.



See sprintf() for a description of format.



Return Values

Returns the length of the outputted string.

See Also

  • print - Output a string
  • sprintf() - Return a formatted string
  • vprintf() - Output a formatted string
  • sscanf() - Parses input from a string according to a format
  • fscanf() - Parses input from a file according to a format
  • flush() - Flush system output buffer