gdb

package
v0.1.53 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Unlicense Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MongoDB

type MongoDB struct {
	Config gs.DBConfig
	Db     *mongo.Database
	Client *mongo.Client
}

func (*MongoDB) Collection

func (mdb *MongoDB) Collection(col string) (collection *mongo.Collection)

func (*MongoDB) Connect

func (mdb *MongoDB) Connect() (err error)

type PGSql

type PGSql struct {
	Config gs.DBConfig
}

func (*PGSql) Connect

func (pgsql *PGSql) Connect() (DB *gorm.DB, sql_ *sql.DB)

Jump to

Keyboard shortcuts

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