Go Package fmt: Difference between revisions
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
=<tt>fmt</tt> Package Functions= | =<tt>fmt</tt> Package Functions= | ||
* <tt>[https://golang.org/pkg/fmt/#Printlnt fmt.Println()]</tt> | |||
==<tt>fmt.Printf()</tt>== | ==<tt>fmt.Printf()</tt>== |
Revision as of 04:22, 4 April 2016
External
Internal
fmt Package Functions
fmt.Printf()
Prints according to a format specifier. Format specifier documentation https://golang.org/pkg/fmt
Pointers
fmt.Printf("%p\n", sPtr)
Ints
fmt.Printf("%d\n",i)