Documentation ¶
Index ¶
Constants ¶
View Source
const XGO_COMPILER_BIN = "XGO_COMPILER_BIN"
View Source
const XGO_COMPILER_ENABLE = "XGO_COMPILER_ENABLE"
View Source
const XGO_DEBUG_DUMP_AST = "XGO_DEBUG_DUMP_AST"
View Source
const XGO_DEBUG_DUMP_AST_FILE = "XGO_DEBUG_DUMP_AST_FILE"
View Source
const XGO_DEBUG_DUMP_IR = "XGO_DEBUG_DUMP_IR"
View Source
const XGO_DEBUG_DUMP_IR_FILE = "XGO_DEBUG_DUMP_IR_FILE"
View Source
const XGO_DEBUG_VSCODE = "XGO_DEBUG_VSCODE"
View Source
const XGO_TOOLCHAIN_REVISION = "XGO_TOOLCHAIN_REVISION"
View Source
const XGO_TOOLCHAIN_VERSION = "XGO_TOOLCHAIN_VERSION"
View Source
const XGO_TOOLCHAIN_VERSION_NUMBER = "XGO_TOOLCHAIN_VERSION_NUMBER"
Variables ¶
This section is empty.
Functions ¶
func Main ¶
func Main(args []string)
invoking examples:
go1.21.7/pkg/tool/darwin_amd64/compile -o /var/.../_pkg_.a -trimpath /var/...=> -p fmt -std -complete -buildid b_xx -goversion go1.21.7 -c=4 -nolocalimports -importcfg /var/.../importcfg -pack src/A.go src/B.go go1.21.7/pkg/tool/darwin_amd64/link -V=full
Types ¶
type VscodeDebugConfig ¶
type VscodeDebugConfig struct { Name string `json:"name"` Type string `json:"type"` Request string `json:"request"` Mode string `json:"mode"` Program string `json:"program"` Cwd string `json:"cwd"` Args []string `json:"args"` Env map[string]string `json:"env"` }
func (*VscodeDebugConfig) ToMap ¶
func (c *VscodeDebugConfig) ToMap() (map[string]interface{}, error)
type VscodeLaunchConfig ¶
type VscodeLaunchConfig struct {
Configurations []*VscodeDebugConfig `json:"configurations"`
}
type VscodeLaunchConfigMap ¶
type VscodeLaunchConfigMap struct {
Configurations []map[string]interface{} `json:"configurations"`
}
Click to show internal directories.
Click to hide internal directories.