Documentation ¶
Index ¶
Constants ¶
View Source
const ( SetStd = "std" SetProject = "project" SetExternal = "external" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Aliaser ¶ added in v0.4.0
type Aliaser struct {
// contains filtered or unexported fields
}
func NewAliaser ¶ added in v0.4.0
type Classifier ¶ added in v0.4.0
type Classifier struct {
// contains filtered or unexported fields
}
func NewClassifier ¶ added in v0.4.0
func NewClassifier(projectName string, sets []Set) *Classifier
func (*Classifier) ClassifyImport ¶ added in v0.4.0
func (c *Classifier) ClassifyImport(pkg string) string
func (*Classifier) IsProjectImport ¶ added in v0.4.0
func (c *Classifier) IsProjectImport(pkg string) bool
type DependencyCache ¶ added in v0.4.0
type DependencyCache map[string]astutil.PackageImports
DependencyCache holds a list of package names per build tags (i.e. the key is the build tags string, like "windows prod").
func NewDependencyCache ¶ added in v0.4.0
func NewDependencyCache() DependencyCache
func (DependencyCache) GetPackageName ¶ added in v0.4.0
type GimpsString ¶ added in v0.4.0
type GimpsString string
Click to show internal directories.
Click to hide internal directories.