Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TopologicalSort ¶ added in v1.3.0
TopologicalSort performs topological sorting using three lists (processing, toSort, sorted) to resolve dependencies and return a sorted list. The input `items` is a list of all items to be sorted, and `fn` determines dependencies.
Types ¶
Click to show internal directories.
Click to hide internal directories.