Documentation ¶
Index ¶
Constants ¶
View Source
const ( // errors NotFound = "not found" Root = "root" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAG ¶
type DAG[T1 any] interface { AddVertex(ctx context.Context, s string, v T1) error UpdateVertex(ctx context.Context, s string, v T1) error Connect(ctx context.Context, from, to string) AddDownEdge(ctx context.Context, from, to string) AddUpEdge(ctx context.Context, from, to string) VertexExists(s string) bool GetVertex(s string) (T1, error) GetVertices() map[string]T1 GetDownVertexes(from string) []string GetUpVertexes(from string) []string TransitiveReduction(ctx context.Context) Print(name string) PrintFrom(name, from string) }
type WalkConfig ¶
type WalkConfig struct { WalkInitFn WalkInitFn WalkEntryFn WalkEntryFn }
type WalkInitFn ¶
Click to show internal directories.
Click to hide internal directories.