feat:Extract global configuration
This commit is contained in:
1 parent
a6970e9c67
commit
bfbc5081ea
15 files changed
+155
-207
No files matched your search
@@ -3,6 +3,7 @@ package database
|
||||
import "github.com/jinzhu/gorm"
|
||||
|
||||
type Database interface {
|
||||
Setup()
|
||||
Open(dbType string, conn string) (db *gorm.DB, err error)
|
||||
GetConnect() string
|
||||
}
|
||||
Reference in new issue
Block a user