Golang print: Revision history

From wikinotes

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

1 August 2022

22 July 2022

18 June 2022

  • curprev 16:1816:18, 18 June 2022Will talk contribs 924 bytes +924 Created page with "= Basics = <blockquote> <syntaxhighlight lang="go"> require "fmt" fmt.Println("foo") // print to stdout with newline fmt.Printf("%v", 123) // print formatted string to stdout (no newline) fmt.Fprintf(os.Stdout, "%v", 123) // prints formatted string to writable object (ex. STDOUT, STERR, ..) fmt.Sprintf("%v", 123) // returns formatted string (no newline) </syntaxhighlight> </blockquote><!-- Basics --> = Format Syntax = <blockqu..."