Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MenuRepository ¶
type MenuRepository interface {
CreateMenu(ctx context.Context, req domain.Menu) (int64, error)
ListMenu(ctx context.Context) ([]domain.Menu, error)
UpdateMenu(ctx context.Context, req domain.Menu) (int64, error)
FindByIds(ctx context.Context, ids []int64) ([]domain.Menu, error)
FindById(ctx context.Context, id int64) (domain.Menu, error)
GetAllMenu(ctx context.Context) ([]domain.Menu, error)
DeleteMenu(ctx context.Context, id int64) (int64, error)
}
func NewMenuRepository ¶
func NewMenuRepository(dao dao.MenuDAO) MenuRepository
Click to show internal directories.
Click to hide internal directories.