ctxt

package
v1.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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 AllowPkgFuncTrap

func AllowPkgFuncTrap(pkgPath string, isStd bool, funcName string) bool

func GetPkgPath

func GetPkgPath() string

func IsPkgXgoSkipTrap

func IsPkgXgoSkipTrap(pkg string) bool

skip all packages for xgo,except test

func MatchAnyPattern

func MatchAnyPattern(pkgPath string, pkgName string, funcName string, patterns []string) bool

func MatchPattern

func MatchPattern(pkgPath string, pkgName string, funcName string, pattern string) bool

func SkipPackageTrap

func SkipPackageTrap() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL