db

package
v0.0.0-...-3467a1f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewPgConn

func NewPgConn(dbConf *DBConfig) (*sqlx.DB, error)

Types

type DBConfig

type DBConfig struct {
	Host     string
	Port     string
	User     string
	DBName   string
	Password string
	Debug    bool
}

func NewDBConfig

func NewDBConfig(config *config.Config) *DBConfig

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL