package
0.3.16
Repository: https://github.com/hwultra/fb-tools.git
Documentation: pkg.go.dev

# Functions

FindRelationNode 在 allTree 中查询 nodes 中节点的所有父节点 nodes 要查询父节点的子节点数组 allTree 所有节点数组.
GenerateTree 自定义的结构体实现 INode 接口后调用此方法生成树结构 nodes 需要生成树的节点 selectedNode 生成树后选中的节点 menuTrees 生成成功后的树结构对象.

# Structs

Tree 统一定义菜单树的数据结构,也可以自定义添加其他字段.

# Interfaces

ConvertToINodeArray 其他的结构体想要生成菜单树,直接实现这个接口.

# Type aliases

No description provided by the author