Documentation ¶
Overview ¶
Package flags contains globally-visible flags.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Go location. Go string // GOOS defines the GOOS for analysis. GOOS string // GOARCH defines the GOARCH for analysis. GOARCH string // BuildTags defines the set of build tags for analysis. Note that // while this may also be a StringList, it is kept as an explicit // comma-separated list in order to build the standard flag. BuildTags string // ImportMap defines all binary input files. ImportMap = StringMap{} // ArchiveMap defines all binary archive files. ArchiveMap = StringMap{} // FactMap defines all fact input files. FactMap = StringMap{} // Bundles define fact bundles. This is typically used to contain the // inputs for the standard library. Bundles StringList )
Functions ¶
Types ¶
type StringList ¶
type StringList []string
StringList is a list of strings.
func (*StringList) Set ¶
func (s *StringList) Set(value string) error
Set implements flag.Value.Set.
func (*StringList) String ¶
func (s *StringList) String() string
String implements fmt.Stringer.String.
Click to show internal directories.
Click to hide internal directories.