MCPcopy Create free account
hub / github.com/goinaction/code / main

Function main

chapter8/listing03/listing03.go:13–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11}
12
13func main() {
14 // Println writes to the standard logger.
15 log.Println("message")
16
17 // Fatalln is Println() followed by a call to os.Exit(1).
18 log.Fatalln("fatal message")
19
20 // Panicln is Println() followed by a call to panic().
21 log.Panicln("panic message")
22}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected