Go Printing to Stdout and Stderr

From NovaOrdis Knowledge Base
Revision as of 00:12, 19 August 2023 by Ovidiu (talk | contribs) (→‎println())
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")