repository

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL