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

Method DeleteMenu

internal/repository/menu.go:52–54  ·  view source on GitHub ↗

DeleteMenu 删除菜单

(ctx context.Context, id int)

Source from the content-addressed store, hash-verified

50
51// DeleteMenu 删除菜单
52func (m *menuRepository) DeleteMenu(ctx context.Context, id int) error {
53 return m.dao.DeleteMenu(ctx, id)
54}
55
56// ListMenus 分页获取菜单列表
57func (m *menuRepository) ListMenus(ctx context.Context, page, pageSize int) ([]*domain.Menu, int, error) {

Callers

nothing calls this directly

Calls 1

DeleteMenuMethod · 0.65

Tested by

no test coverage detected