package
0.0.0-20240608100621-d5a391dd29f6
Repository: https://github.com/jimu-server/util.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
BuildTree 获取 id 下的子树
@Param id 需要查询的节点主键id
@Param list 实现 Empty[T] 的切片数据
@Return tree 返回 指定 id 的节点及其子节点
*/.
FullName 在树中找到全名
@Param id 带查找全名的主键
@Param nodes id 节点所在的节点列表
@Return Name 返回 指定id的全名列表,名称按顺序排序
*/.
GetChildIds 查询 pid 及其 pid的子id列表
@Param all 节点id列表
@Param pid 待查询的 父节点列表
@Return childIds 返回 pid 及其 pid的子节点id
*/.
Tree 查找到当前id及其子节点树
@Param id 需要查询的节点主键id
@Param list 实现 Empty[T] 的切片数据
@Return tree 返回 指定 id 的节点及其子节点
*/.