package
0.0.14
Repository: https://github.com/easeq/go-service.git
Documentation: pkg.go.dev

# Functions

NewConfig returns the parsed config for postgres from env.
NewInitializer returns a new JetStream Initialiazer.
NewPostgres returns new connection to the postgres db.

# Constants

Driver defines the driver name.

# Variables

ErrCreateDBInstance returned when db instance creation fails.
ErrDBMigrationFailed returned when db migration fails.
ErrDBOpen returned when db open fails.
ErrMigrationLoad returned when migrations cannot be loaded.

# Structs

Config holds database configuration.
No description provided by the author
Postgres contains database instance.