| 26 | } |
| 27 | |
| 28 | type roleService struct { |
| 29 | repo repository.RoleRepository |
| 30 | permissionRepo repository.PermissionRepository |
| 31 | l *zap.Logger |
| 32 | } |
| 33 | |
| 34 | func NewRoleService(repo repository.RoleRepository, permissionRepo repository.PermissionRepository, l *zap.Logger) RoleService { |
| 35 | return &roleService{ |
nothing calls this directly
no outgoing calls
no test coverage detected