9 lines
159 B
Go
9 lines
159 B
Go
![]() |
package database
|
||
|
|
||
|
import "github.com/jinzhu/gorm"
|
||
|
|
||
|
type Database interface {
|
||
|
Open(dbType string, conn string) (db *gorm.DB, err error)
|
||
|
GetConnect() string
|
||
|
}
|