Files
jbxh-server/database/interface.go
T

10 lines
168 B
Go

package database
import "github.com/jinzhu/gorm"
type Database interface {
Setup()
Open(dbType string, conn string) (db *gorm.DB, err error)
GetConnect() string
}