Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "depslint", Doc: doc, Run: run, Requires: []*analysis.Analyzer{ inspect.Analyzer, }, }
Analyzer is ...
Functions ¶
func CheckImport ¶
func CheckImport(pass *analysis.Pass, n *ast.ImportSpec, rules []DependencyRule)
func GetRootPkgName ¶
func IsDisabledLint ¶
func IsDisabledLint(n *ast.ImportSpec) bool
Types ¶
type DependencyRule ¶
func ParsePuml ¶
func ParsePuml(rootPkg, path string) []DependencyRule
func ParseRule ¶
func ParseRule(rootPkg, lineTxt string) *DependencyRule
Click to show internal directories.
Click to hide internal directories.