add dao testing cases

This commit is contained in:
yanghao05
2023-02-04 18:53:17 +08:00
parent 1c2b861ac7
commit 2fb6bba903
21 changed files with 464 additions and 12 deletions

20
modules/auth/service/role.go Executable file
View 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
}