core

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 1 Imported by: 5

Documentation

Index

Constants

View Source
const NUMBER = 80
View Source
const REVISION = "4a87957ab7175717205880ca95086e259f342c25+1"
View Source
const VERSION = "1.0.1"

Variables

This section is empty.

Functions

This section is empty.

Types

type Field

type Field interface {
	Name() string
	Value() interface{}
	Set(val interface{})
}

type FuncInfo

type FuncInfo struct {
	// FullName string
	Pkg          string
	IdentityName string
	Name         string
	RecvType     string
	RecvPtr      bool

	Generic bool

	PC       uintptr     `json:"-"`
	Func     interface{} `json:"-"`
	RecvName string
	ArgNames []string
	ResNames []string

	// is first argument ctx
	FirstArgCtx bool
	// last last result error
	LastResultErr bool
}

func (*FuncInfo) DisplayName

func (c *FuncInfo) DisplayName() string

func (*FuncInfo) IsFunc

func (c *FuncInfo) IsFunc(fn interface{}) bool

type Object

type Object interface {
	GetField(name string) Field
	GetFieldIndex(i int) Field
	NumField() int
}

Jump to

Keyboard shortcuts

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