Documentation ¶
Overview ¶
Package importlint provide linter of package imports.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildContext ¶
type BuildContext struct {
// contains filtered or unexported fields
}
func NewBuildContext ¶
func NewBuildContext(root string) BuildContext
func (*BuildContext) Context ¶
func (b *BuildContext) Context() *build.Context
func (*BuildContext) FindAllPackage ¶
FindAllPackage returns a list of all packages in all of the GOPATH trees in the given build context. If prefix is non-empty, only packages whose import paths begin with prefix are returned.
type Config ¶
func ParseConfig ¶
Click to show internal directories.
Click to hide internal directories.