12 lines
344 B
Go
12 lines
344 B
Go
package data
|
|
|
|
import "kra/internal/biz"
|
|
|
|
type accessRepo struct{ data *Data }
|
|
|
|
func NewAuthorityAccessRepo(data *Data) biz.AuthorityAccessRepo { return &accessRepo{data: data} }
|
|
|
|
func NewAPIRepo(data *Data) biz.APIRepo { return &accessRepo{data: data} }
|
|
|
|
func NewPermissionRepo(data *Data) biz.PermissionRepo { return &accessRepo{data: data} }
|