Go Package fmt: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 27: Line 27:
</pre>
</pre>


==<tt>fmt.Scanf()</tt>==
* <tt>[https://golang.org/pkg/fmt/#Scanf fmt.Scanf()]</tt>
 
* <tt>[https://golang.org/pkg/fmt/#Errorf fmt.Errorf()]</tt>

Revision as of 04:24, 4 April 2016

External

Internal

fmt Package Functions

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)