package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Oct 18, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
D is data attached to the vertex.
type Graph struct {
Vertices map[V]Vertex
}
Graph is a graph representation of resource dependencies.
func (g *Graph) AddVertex(name V, data D)
type Vertex struct {
EdgesSet map[V]struct{}
Data D
}
Vertex is a resource representation in a dependency graph.
Edges returns a list of resources current resource depends on.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.