Go Package fmt: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 9: | Line 9: | ||
=Functions= | =Functions= | ||
==<tt>fmt.Printf()</tt>, <tt>fmt.Println()</tt>== | ==<tt>fmt.Printf()</tt>, <tt>fmt.Println()</tt>== | ||
{{Internal|Go_Printing_to_Stdout_and_Stderr# | {{Internal|Go_Printing_to_Stdout_and_Stderr#fmt_Functions|Printing to <tt>stdout</tt> and <tt>stderr</tt>}} | ||
==<tt>fmt.Scanf()</tt>, <tt>fmt.Scanln()</tt>== | ==<tt>fmt.Scanf()</tt>, <tt>fmt.Scanln()</tt>== |
Revision as of 01:54, 23 August 2023
External
Internal
Functions
fmt.Printf(), fmt.Println()
fmt.Scanf(), fmt.Scanln()
fmt.Errorf()
Errorf formats according to a format specifier and returns the string as a value that satisfies error. For more on error handling see error handling.