forked from ebhomengo/niki
15 lines
404 B
Go
15 lines
404 B
Go
|
package initial
|
||
|
|
||
|
import (
|
||
|
"git.gocasts.ir/ebhomengo/niki/repository/mysql"
|
||
|
adminauthorizationservice "git.gocasts.ir/ebhomengo/niki/service/admin/authorization"
|
||
|
)
|
||
|
|
||
|
type AdminAuthorization struct {
|
||
|
AdminAuthorizationSvc adminauthorizationservice.Service
|
||
|
}
|
||
|
|
||
|
func InitAdminAuthorizationService(db *mysql.DB) adminauthorizationservice.Service {
|
||
|
return adminauthorizationservice.New(InitAdminMysql(db))
|
||
|
}
|