Documentation ¶
Overview ¶
Package importer imports dependency configuration from Glide, Godep, GPM, GB and gom
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultImporter ¶
type DefaultImporter struct{}
DefaultImporter imports from Glide, Godep, GPM, GB and gom.
func (*DefaultImporter) Import ¶
func (d *DefaultImporter) Import(path string) (bool, []*cfg.Dependency, error)
Import tries to import configuration from Glide, Godep, GPM, GB and gom.
type Importer ¶
type Importer interface { // Import imports dependency configuration. It returns: // - A bool if any configuration was found. // - []*cfg.Dependency containing dependency configuration if any is found. // - An error if one was reported. Import(path string) (bool, []*cfg.Dependency, error) }
Importer enables importing depenency configuration.
Click to show internal directories.
Click to hide internal directories.