Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct { Output string `json:"output,omitempty" yaml:"output,omitempty"` // NotRun bool `json:"not_run,omitempty" yaml:"not_run,omitempty"` // NoCache bool `json:"no_cache,omitempty" yaml:"no_cache,omitempty"` // Verbose bool `json:"verbose,omitempty" yaml:"verbose,omitempty"` // X bool `json:"x,omitempty" yaml:"x,omitempty"` // KeepWorkDIR bool `json:"keep_work_dir,omitempty" yaml:"keep_work_dir,omitempty"` // Race bool `json:"race,omitempty" yaml:"race,omitempty"` // LDFlags string `json:"ld_flags,omitempty" yaml:"ld_flags,omitempty"` // ASMFlags string `json:"asm_flags,omitempty" yaml:"asm_flags,omitempty"` // GccGoFlags string `json:"gcc_go_flags,omitempty" yaml:"gcc_go_flags,omitempty"` // GCFlags string `json:"gc_flags,omitempty" yaml:"gc_flags,omitempty"` // Compiler string `json:"compiler,omitempty" yaml:"compiler,omitempty"` // Mod string `json:"mod,omitempty" yaml:"mod,omitempty"` //readonly, vendor, or mod ModFile string `json:"mod_file,omitempty" yaml:"mod_file,omitempty"` // BuildMode string `json:"build_mode,omitempty" yaml:"build_mode,omitempty"` //mode build mode to use. See 'go help buildmode' for more. PkgDIR string `json:"pkg_dir,omitempty" yaml:"pkg_dir,omitempty"` //install and load all packages from dir instead of the usual locations. For example, when building with a non-standard configuration, use -pkgdir to keep generated packages in a separate location. Tags []string `json:"tags,omitempty" yaml:"tags,omitempty"` // TrimPath bool `json:"trim_path,omitempty" yaml:"trim_path,omitempty"` // Static bool `json:"static,omitempty" yaml:"static,omitempty"` // Files []string `json:"files,omitempty" yaml:"files,omitempty"` // GOOS string `json:"goos,omitempty" yaml:"goos,omitempty"` // GOARCH string `json:"goarch,omitempty" yaml:"goarch,omitempty"` // CGOEnabled bool `json:"cgo_enabled,omitempty" yaml:"cgo_enabled,omitempty"` // GOPROXY string `json:"go_proxy,omitempty" yaml:"go_proxy,omitempty"` // GO111MODULE string `json:"go111_module,omitempty" yaml:"go111_module,omitempty"` // UpxPack bool `json:"upx_pack,omitempty" yaml:"upx_pack,omitempty"` // }
func (*Builder) ApplyToFlagSet ¶
func (*Builder) BuildFlagOption ¶
func (*Builder) GenerateArgs ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.