Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶
type DependencyHandler ¶
type DependencyHandler interface { FetchDeps(request PackageRequest) (Dependencies, error) PreAct(request PackageRequest) error PostAct(request PackageRequest) error }
type PackageRequest ¶
type Packages ¶
Packages is a map from names to the list of versions. The versions are represented as a map of string over struct{} to use the speed and uniqueness of map keys.
func Install ¶
func Install(r PackageRequest, depHandler DependencyHandler) (Packages, error)
Click to show internal directories.
Click to hide internal directories.