package
Version:
v0.2.12
Opens a new window with list of versions in this module.
Published: Mar 17, 2021
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Conf struct {
Package string `yaml:"package,omitempty"`
Imports []Import `yaml:"import,omitempty"`
Excludes []string `yaml:"exclude,omitempty"`
Packages []string `yaml:"packages,omitempty"`
ImportMap map[string]Import `yaml:"-"`
}
Dedupe deletes duplicates and sorts the imports
type ExportMap struct {
Imports map[string]Import `yaml:"imports,omitempty"`
}
type Import struct {
Package string `yaml:"package,omitempty"`
Version string `yaml:"version,omitempty"`
Repo string `yaml:"repo,omitempty"`
Update bool `yaml:"-"`
Options `yaml:",inline"`
}
type Options struct {
Transitive bool `yaml:"transitive,omitempty"`
Staging bool `yaml:"staging,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.