database

package
v0.0.0-...-f19dd24 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: Apache-2.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ignore

func Ignore(name string) bool

func SetDatabase

func SetDatabase(name string, db *Database)

Types

type Database

type Database struct {
	// contains filtered or unexported fields
}

func GetDatabase

func GetDatabase(name string) *Database

func (*Database) GetDriver

func (db *Database) GetDriver() *gorm.DB

func (*Database) SetDriver

func (db *Database) SetDriver(driver *gorm.DB)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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