mytree

package
v1.11.35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindNodeByID

func FindNodeByID[T any](listData []T, uid string, getChildrenFn func(T) []T) (T, bool)

func FindNodeByPath

func FindNodeByPath[T any](listData []T, listIDs []int, getChildrenFn func(T) []T) (T, bool)

func ParseTreeNodePath

func ParseTreeNodePath(uid string) ([]int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL