MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / GetMenuById

Method GetMenuById

internal/repository/menu.go:13–13  ·  view source on GitHub ↗
(ctx context.Context, id int)

Source from the content-addressed store, hash-verified

11type MenuRepository interface {
12 CreateMenu(ctx context.Context, menu *domain.Menu) error
13 GetMenuById(ctx context.Context, id int) (*domain.Menu, error)
14 UpdateMenu(ctx context.Context, menu *domain.Menu) error
15 DeleteMenu(ctx context.Context, id int) error
16 ListMenus(ctx context.Context, page, pageSize int) ([]*domain.Menu, int, error)

Callers 1

GetMenuByIdMethod · 0.65

Implementers 2

menuRepositoryinternal/repository/menu.go
menuDAOinternal/repository/dao/menu.go

Calls

no outgoing calls

Tested by

no test coverage detected