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

Function init

chapter3/dbdriver/postgres/postgres.go:21–24  ·  view source on GitHub ↗

init is called prior to main.

()

Source from the content-addressed store, hash-verified

19
20// init is called prior to main.
21func init() {
22 d = new(PostgresDriver)
23 sql.Register("postgres", d)
24}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected