Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ExactMatch used to specify that dependant bundle requires the exact version of the dependency to be the // last processed bundle. ExactMatch dependencyType = "ExactMatch" // AtLeast used to specify that dependant bundle requires at least some version of the dependency to be processed. AtLeast dependencyType = "AtLeast" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type Dependency struct { BundleType string DependencyType dependencyType }
Dependency represents the dependency between different bundles. a bundle can depend only on one other bundle.
func NewDependency ¶
func NewDependency(bundleType string, dependencyType dependencyType) *Dependency
NewDependency creates a new instance of dependency.
Click to show internal directories.
Click to hide internal directories.