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

Method GetMenuTree

internal/service/menu.go:94–96  ·  view source on GitHub ↗

GetMenuTree 获取菜单树形结构

(ctx context.Context)

Source from the content-addressed store, hash-verified

92
93// GetMenuTree 获取菜单树形结构
94func (m *menuService) GetMenuTree(ctx context.Context) ([]*domain.Menu, error) {
95 return m.repo.GetMenuTree(ctx)
96}

Callers

nothing calls this directly

Calls 1

GetMenuTreeMethod · 0.65

Tested by

no test coverage detected