add dao testing cases
This commit is contained in:
20
modules/auth/service/role.go
Executable file
20
modules/auth/service/role.go
Executable file
@@ -0,0 +1,20 @@
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
type RoleService interface {
|
||||
Create(ctx context.Context) error
|
||||
}
|
||||
|
||||
type roleService struct {
|
||||
}
|
||||
|
||||
func NewRoleService() RoleService {
|
||||
return &roleService{}
|
||||
}
|
||||
|
||||
func (svc *roleService) Create(ctx context.Context) error {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user