Files
arenax-server/internal/service/role_menu.go

34 lines
856 B
Go

// ================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// You can delete these comments if you wish manually maintain this interface file.
// ================================================================================
package service
import (
"context"
"server/internal/model"
)
type (
IRoleMenu interface {
List(ctx context.Context, in *model.RoleMenuListInput) (out *model.MenuListOutput, err error)
Save(ctx context.Context, in *model.RoleMenuSaveInput) (out *model.UpdateOut, err error)
}
)
var (
localRoleMenu IRoleMenu
)
func RoleMenu() IRoleMenu {
if localRoleMenu == nil {
panic("implement not found for interface IRoleMenu, forgot register?")
}
return localRoleMenu
}
func RegisterRoleMenu(i IRoleMenu) {
localRoleMenu = i
}