mirror of
https://github.com/GMWalletApp/epusdt.git
synced 2026-07-07 18:26:16 +00:00
add sqlite
This commit is contained in:
@@ -14,6 +14,8 @@ func DBInit() {
|
||||
dbType := viper.GetString("db_type")
|
||||
if strings.EqualFold(dbType, "postgres") {
|
||||
PostgreSQLInit()
|
||||
} else if strings.EqualFold(dbType, "sqlite") {
|
||||
SqliteInit()
|
||||
} else {
|
||||
MysqlInit()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user