Documentation ¶
Index ¶
- Variables
- func NewPGXPostgresqlDB(cfg *config.Config) (db *pgxpool.Pool, err error)
- func NewPQPostgresqlDB(cfg *config.Config, driver_name string) (db *sql.DB, err error)
- func NewSQLXMySqlDB(cfg *config.Config) (db *sqlx.DB, err error)
- func NewSQLXPostgresqlDB(cfg *config.Config) (db *sqlx.DB, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ConnStr string
)
View Source
var (
PQConnStr string
)
View Source
var (
SQLXConnStr string
)
Functions ¶
func NewPGXPostgresqlDB ¶
NewPGXPostgresqlDB Return new Postgresql client
func NewPQPostgresqlDB ¶
NewPQPostgresqlDB Return new Postgresql client
func NewSQLXMySqlDB ¶
NewSQLXPostgresqlDB Return new Postgresql client
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.