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

Struct PostgresDriver

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

PostgresDriver provides our implementation for the sql package.

Source from the content-addressed store, hash-verified

9// PostgresDriver provides our implementation for the
10// sql package.
11type PostgresDriver struct{}
12
13// Open provides a connection to the database.
14func (dr PostgresDriver) Open(string) (driver.Conn, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected