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

Function init

chapter6/listing20/listing20.go:15–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13var wg sync.WaitGroup
14
15func init() {
16 rand.Seed(time.Now().UnixNano())
17}
18
19// main is the entry point for all Go programs.
20func main() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected