Categorygithub.com/ditointernet/go-dito/lib/postgres
modulepackage
0.1.2
Repository: https://github.com/ditointernet/go-dito.git
Documentation: pkg.go.dev

# Functions

Driver indicates which Postgres driver should be used based on environment.
MustNewClient creates a new Client instance.
NewClient creates a new Client instance.

# Variables

ErrCantOpenConnection indicates an error on openning connection to the postgres database.
ErrDatabaseNotReached indicates that the database can not be reached.

# Structs

Client is a custom postgres client.
ClientParams encapsulates all Client's dependencies.