Documentation
¶
Overview ¶
Package variable is providing the necessary functions: * to calculate the build order of the variables * and to calculate the list of value for a given variable.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct {
Variables []string
}
func BuildOrder ¶
BuildOrder determinate which variable we have to build first (aka to perform the query). Here is the description of the algorithm followed:
1. First calculate which variable depend of which other variable 2. Then, thanks to the dependencies, we can create a dependency graph. 3. Then we have to determinate the build order.
Click to show internal directories.
Click to hide internal directories.