database

package
v0.0.0-...-1390325 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDB

func NewDB(conf *config.Config) *dabase_pool

func PGConn

func PGConn(conf *config.Config) *dabase_pool

func SQLiteConn

func SQLiteConn(conf *config.Config) *dabase_pool

Types

type DatabaseInterface

type DatabaseInterface interface {
	GetDB() (DB *sql.DB)
	Close() error
}

Jump to

Keyboard shortcuts

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