internal

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Graph

type Graph map[string]*Node

func NewDependsGraph

func NewDependsGraph() Graph

func (Graph) AddNode

func (g Graph) AddNode(id string, dependencies ...string)

func (Graph) Build

func (g Graph) Build() ([]string, error)

type Node

type Node struct {
	ID           string
	Dependencies []string
}

Jump to

Keyboard shortcuts

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