Documentation ¶ Index ¶ func New() (*config, error) type PostgresInfo Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New() (*config, error) Types ¶ type PostgresInfo ¶ type PostgresInfo struct { Hostname string `env:"pgs_host,required"` Port int `env:"pgs_port,required"` Username string `env:"pgs_user"` Password string `env:"pgs_pass"` Db string `env:"pgs_db,required"` } Source Files ¶ View all Source files config.go Click to show internal directories. Click to hide internal directories.