Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProvidesRequires ¶ added in v1.6.0
type Specification ¶
type Specification struct { ProvidesRequires // Variants allows for specifying multiple sets of provides/requires for a single package. This is useful // in cases when you have conditional optional dependencies for a package. Variants []ProvidesRequires }
Specification holds strings that indicate abstract resources that a package provides for other packages and requires for itself. These strings can represent anything from file paths, package names, or any other concept that is useful for dependency resolution within that packing ecosystem.
type Specifier ¶
type Specifier func(pkg.Package) Specification
Specifier is a function that takes a package and extracts a Specification, describing resources the package provides and needs.
Click to show internal directories.
Click to hide internal directories.