xfw

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInstance

func GetInstance(name string) interface{}

获取实例

func SetInstance

func SetInstance(name string, i interface{})

保存实例

Types

type XApiString

type XApiString interface {
	String() string
}

type XArray

type XArray []interface{}

type XError

type XError interface {
	Error() string
}

type XHash

type XHash map[string]interface{}

type XObject

type XObject struct{}

type XRecord

type XRecord []XHash

type XTypeEnum

type XTypeEnum int
const (
	Xunknown XTypeEnum = iota
	Xint
	Xint8
	Xint16
	Xint32
	Xint64
	Xuint
	Xuint8
	Xuint16
	Xuint32
	Xuint64
	Xbool
	Xfloat32
	Xfloat64
	Xdatetime
	Xstring
	Xobject
	Xarray
	Xrecord
)

Jump to

Keyboard shortcuts

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