Go Printing to Stdout and Stderr

From NovaOrdis Knowledge Base
Revision as of 00:11, 19 August 2023 by Ovidiu (talk | contribs) (→‎Internal)
Jump to navigation Jump to search

Internal

Bootstrapping Functions

print()

println()

func main() {
  println("something")
}

fmt.Printf()

import "fmt"

// ...
fmt.Printf("something")

Format Strings

fmt.Printf("Hello %s", "Bob")