Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BRANCH = "master"
View Source
var BUILT = "now"
View Source
var REVISION = "HEAD"
View Source
var VERSION = "dev"
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AllowUnknown bool Accepted map[string]bool Unaccepted map[string]bool Exceptions map[string]bool // contains filtered or unexported fields }
func (*Config) ReadConfig ¶
type File ¶
type File struct { Accepted []string `yaml:"accepted"` Unaccepted []string `yaml:"unaccepted"` Exceptions []string `yaml:"exceptions"` }
func (*File) AllowUnknown ¶
type OutputSettings ¶
type OutputSettings struct { OutputTemplate string `short:"t" long:"output-template" description:"Output template to use"` UseJSON bool `short:"j" long:"json" description:"Print output in JSON format"` DirectOnly bool `long:"direct-only" description:"Print only direct dependencies"` IndirectOnly bool `long:"indirect-only" description:"Print only indirect dependencies"` }
Click to show internal directories.
Click to hide internal directories.