tsort

package
v0.34.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTopOrder

func GetTopOrder(nodes Nodes) ([]string, error)

Types

type Nodes

type Nodes map[string]*node

func (Nodes) Add

func (n Nodes) Add(id string, inRef map[string]struct{}, outRef map[string]struct{})

func (Nodes) Copy

func (n Nodes) Copy() Nodes

func (Nodes) Remove

func (n Nodes) Remove(id string)

Jump to

Keyboard shortcuts

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