model

package
v0.0.0-...-a770161 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSelfDB

func GetSelfDB() *gorm.DB

func InitSelfDB

func InitSelfDB() *gorm.DB

Types

type Database

type Database struct {
	Self *gorm.DB
}
var DB *Database

func (*Database) Close

func (db *Database) Close()

func (*Database) Init

func (db *Database) Init()

Jump to

Keyboard shortcuts

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