Documentation ¶
Index ¶
- Constants
- Variables
- func AllowPkgFuncTrap(pkgPath string, isStd bool, funcName string) bool
- func GetPkgPath() string
- func IsPkgXgoSkipTrap(pkg string) bool
- func MatchAnyPattern(pkgPath string, pkgName string, funcName string, patterns []string) bool
- func MatchPattern(pkgPath string, pkgName string, funcName string, pattern string) bool
- func SkipPackageTrap() bool
Constants ¶
View Source
const EnableTrapUntypedConst = true
View Source
const GenericImplIsClosure = false
View Source
const XgoLinkTrapVarForGenerated = "__xgo_link_trap_var_for_generated"
View Source
const XgoModule = "github.com/xhd2015/xgo"
View Source
const XgoRuntimeCorePkg = XgoModule + "/runtime/core"
View Source
const XgoRuntimePkg = XgoModule + "/runtime"
Variables ¶
View Source
var XgoCompilePkgDataDir = os.Getenv("XGO_COMPILE_PKG_DATA_DIR")
View Source
var XgoMainModule = os.Getenv("XGO_MAIN_MODULE")
Functions ¶
func GetPkgPath ¶
func GetPkgPath() string
func IsPkgXgoSkipTrap ¶
skip all packages for xgo,except test
func MatchAnyPattern ¶
func MatchPattern ¶
func SkipPackageTrap ¶
func SkipPackageTrap() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.