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

Function init

chapter8/listing03/listing03.go:8–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6)
7
8func init() {
9 log.SetPrefix("TRACE: ")
10 log.SetFlags(log.Ldate | log.Lmicroseconds | log.Llongfile)
11}
12
13func main() {
14 // Println writes to the standard logger.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected