Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log = log.New(ioutil.Discard, "[go-deptrac] ", log.LstdFlags|log.Lshortfile)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Paths []string `yaml:"paths"` ExcludeFiles []string `yaml:"exclude_files"` Layers []Layer `yaml:"layers"` Ruleset Ruleset `yaml:"ruleset"` // contains filtered or unexported fields }
func ParseConfig ¶
type File ¶
type File struct { FilePath FilePath Package Package Imports []*ast.ImportSpec Layers []LayerName }
type ValidationError ¶
type ValidationError error
Click to show internal directories.
Click to hide internal directories.