Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "importpackagename", Doc: "Check package import naming", Run: run, Requires: []*analysis.Analyzer{inspect.Analyzer}, }
View Source
var Config = AliasNames{}
Functions ¶
This section is empty.
Types ¶
type AliasNames ¶
type AliasNames struct {
// contains filtered or unexported fields
}
func (*AliasNames) Add ¶
func (a *AliasNames) Add(alias string, path string)
func (*AliasNames) AliasForPath ¶
func (a *AliasNames) AliasForPath(path string) string
Click to show internal directories.
Click to hide internal directories.