package
0.4.0
Repository: https://github.com/stevenxie/api.git
Documentation: pkg.go.dev

# Functions

ConfigFromViper parses a Config from a viper.Viper instance.
Open opens a connection to a Postgres DB, configured using cfg.
OpenUsing opens a connection to Postgres using a configuration from viper.Viper.

# Constants

Namespace is the package namespace, used for configuring environment variables, etc.

# Structs

Config describes the settings for connecting to a Postgres database.