16 lines
439 B
Go
16 lines
439 B
Go
package data
|
|
|
|
import "kra/internal/biz"
|
|
|
|
type authorityAccessRepo struct{ data *Data }
|
|
type apiRepo struct{ data *Data }
|
|
type permissionRepo struct{ data *Data }
|
|
|
|
func NewAuthorityAccessRepo(data *Data) biz.AuthorityAccessRepo {
|
|
return &authorityAccessRepo{data: data}
|
|
}
|
|
|
|
func NewAPIRepo(data *Data) biz.APIRepo { return &apiRepo{data: data} }
|
|
|
|
func NewPermissionRepo(data *Data) biz.PermissionRepo { return &permissionRepo{data: data} }
|