Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConstraintDef ¶
func GetExistingConstraint ¶
func GetExistingConstraint(rootDir, appDir, depPath string) (*ConstraintDef, error)
GetExistingConstraint returns the constraint definition if it already exists
type DepManager ¶
func New ¶
func New(env env.Project) *DepManager
func (*DepManager) Ensure ¶
func (b *DepManager) Ensure(args ...string) error
Ensure wraps dep ensure command
func (*DepManager) InstallDependency ¶
func (b *DepManager) InstallDependency(depPath, depVersion string) error
InstallDependency installs the given dependency
func (*DepManager) IsInitialized ¶
func (b *DepManager) IsInitialized() bool
IsInitialized Returns true if a dep environment has been initialized
func (*DepManager) UninstallDependency ¶
func (b *DepManager) UninstallDependency(depPath string) error
UninstallDependency deletes the given dependency
Click to show internal directories.
Click to hide internal directories.