Documentation
¶
Index ¶
Constants ¶
View Source
const NUMBER = 258
View Source
const REVISION = "55af407f826d020bcd28c51663d0879f8d1ca76e+1"
View Source
const VERSION = "1.0.39"
View Source
const XGO_CHECK_TOOLCHAIN_VERSION = "XGO_CHECK_TOOLCHAIN_VERSION"
View Source
const XGO_NUMBER = 0
View Source
const XGO_REVISION = ""
View Source
const XGO_VERSION = ""
these fields will be filled by compiler
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Field ¶
type Field interface {
Name() string
Value() interface{}
Ptr() interface{}
Set(val interface{})
}
type FuncInfo ¶
type FuncInfo struct {
// full name, format: {pkgPath}.{receiver}.{funcName}
// example: github.com/xhd2015/xgo/runtime/core.(*FuncInfo).IsFunc
Kind Kind
FullName string
Pkg string
IdentityName string
Name string
RecvType string
RecvPtr bool
// is this an interface method?
Interface bool
// is this a generic function?
Generic bool
// is this a closure?
Closure bool
// is this function from stdlib
Stdlib bool
// source info
File string
Line int
PC uintptr `json:"-"`
Func interface{} `json:"-"`
Var interface{} `json:"-"` // var address
RecvName string
ArgNames []string
ResNames []string
// is first argument ctx
FirstArgCtx bool
// last last result error
LastResultErr bool
}
func (*FuncInfo) DisplayName ¶
type ObjectWithErr ¶ added in v1.0.3
Click to show internal directories.
Click to hide internal directories.