Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CurrentWorkingDirEnv string = "GBER_CURRENT_WORKING_DIR"
Functions ¶
func FindGoProjectDir ¶
func GetCommanlyUsedArchOS ¶
func GetCommanlyUsedArchOS() []string
func GetCurrentWorkingDir ¶
func GetCurrentWorkingDir() string
func GetOtherArchOS ¶
func GetOtherArchOS() []string
func IsGoCompilerInstalled ¶
func IsGoCompilerInstalled() bool
func IsUPXInstalled ¶
func IsUPXInstalled() bool
func SetCurrentWorkingDir ¶
func SetCurrentWorkingDir(dPath string)
Types ¶
type GoBuilder ¶
type GoBuilder struct { ArchOSList []string `json:"arch_os_list"` EnableCompress bool `json:"compress"` EnableUPX bool `json:"upx"` BuildArgs []string `json:"build_args"` WorkDir string `json:"work_dir"` }
func NewGoBuilder ¶
func NewGoBuilder() (g *GoBuilder)
func (*GoBuilder) LoadBuilder ¶
func (g *GoBuilder) LoadBuilder()
func (*GoBuilder) PackWithUPX ¶
func (*GoBuilder) ProjectDir ¶
Click to show internal directories.
Click to hide internal directories.