Go Package fmt

From NovaOrdis Knowledge Base
Revision as of 00:14, 16 September 2023 by Ovidiu (talk | contribs) (→‎Sprintf())
Jump to navigation Jump to search

External

Internal

Functions

Sprintf()

Format a string and returns it as a result:

message := fmt.Sprintf("Hi, %v. Welcome!", name)

For more details on the format string, see:

Printf() Format String

Printf(), Println()

Printing to stdout and stderr

Scanf(), Scanln()

Handling stdin in Go

Errorf()

Error Handling | Wrapping Errors