Documentation
¶
Index ¶
- func Clean(args []string, conf *Config)
- func DefaultAppExt() string
- func IsCheckEnable() bool
- func IsDbgEnabled() bool
- func IsDbgSymsEnabled() bool
- func IsOptimizeEnabled() bool
- func IsRpathChangeEnabled() bool
- func IsTraceEnabled() bool
- func ParseArgs(args []string, swflags map[string]bool) (flags, patterns []string, verbose bool)
- func SkipFlagArgs(args []string) int
- type Config
- type Mode
- type Package
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultAppExt ¶
func DefaultAppExt() string
func IsCheckEnable ¶
func IsCheckEnable() bool
func IsDbgEnabled ¶
func IsDbgEnabled() bool
func IsDbgSymsEnabled ¶
func IsDbgSymsEnabled() bool
func IsOptimizeEnabled ¶
func IsOptimizeEnabled() bool
func IsRpathChangeEnabled ¶
func IsRpathChangeEnabled() bool
func IsTraceEnabled ¶
func IsTraceEnabled() bool
func SkipFlagArgs ¶
Types ¶
type Config ¶
type Config struct { BinPath string AppExt string // ".exe" on Windows, empty on Unix OutFile string // only valid for ModeBuild when len(pkgs) == 1 RunArgs []string // only valid for ModeRun Mode Mode GenExpect bool // only valid for ModeCmpTest }
func NewDefaultConf ¶
Click to show internal directories.
Click to hide internal directories.