|
|
@ -95,7 +95,7 @@ func newAuthorizationManageService() (s core.AuthorizationManageService) {
|
|
|
|
s = jinzhu.NewAuthorizationManageService()
|
|
|
|
s = jinzhu.NewAuthorizationManageService()
|
|
|
|
} else if cfg.If("Sqlx") && cfg.If("MySQL") {
|
|
|
|
} else if cfg.If("Sqlx") && cfg.If("MySQL") {
|
|
|
|
s = sakila.NewAuthorizationManageService()
|
|
|
|
s = sakila.NewAuthorizationManageService()
|
|
|
|
} else if cfg.If("Sqlx") && (cfg.If("Postgres") || cfg.If("PostgreSQL")) {
|
|
|
|
} else if cfg.If("Sqlc") && (cfg.If("Postgres") || cfg.If("PostgreSQL")) {
|
|
|
|
s = slonik.NewAuthorizationManageService()
|
|
|
|
s = slonik.NewAuthorizationManageService()
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
s = jinzhu.NewAuthorizationManageService()
|
|
|
|
s = jinzhu.NewAuthorizationManageService()
|
|
|
|