Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrImport is the base err to any err returned from the go/build pkg. // Use ErrImport to assert against go/Build errs. ErrImport = errors.New("failed to import package") )
Functions ¶
This section is empty.
Types ¶
type PKGAnalizer ¶
type PKGAnalizer struct {
// contains filtered or unexported fields
}
func NewPKGAnalizer ¶
func NewPKGAnalizer(importPath string) *PKGAnalizer
func (*PKGAnalizer) Analize ¶
func (pkg *PKGAnalizer) Analize() error
func (*PKGAnalizer) DisallowedDependOn ¶
func (pkg *PKGAnalizer) DisallowedDependOn(importPath string) *PKGAnalizer
type PolicyError ¶
func (*PolicyError) Error ¶
func (pe *PolicyError) Error() string
Click to show internal directories.
Click to hide internal directories.