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

Method DeleteMenu

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

Source from the content-addressed store, hash-verified

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)
17 GetMenuTree(ctx context.Context) ([]*domain.Menu, error)
18}

Callers 1

DeleteMenuMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected