Documentation
¶
Index ¶
- func FuncCall(f interface{}, args ...interface{}) []reflect.Value
- func FuncCallByName(myClass interface{}, funcName string, params ...interface{}) (out []reflect.Value, err error)
- func FuncCallByNameSimple(myClass interface{}, funcName string, params ...interface{}) (out []reflect.Value, err error)
- func FuncInfo(f interface{}) *runtime.Func
- func IsMapOrStruct(v interface{}) bool
- func IsPointable(v interface{}) bool
- func IterateMapSlice(in reflect.Value, doclone bool, callback IterateMapSliceCallback) (out reflect.Value, err error)
- func MarshalLazy(v interface{}) (string, error)
- func ReflectValuesToList(rvals []reflect.Value) []interface{}
- func SuppressComplex(v reflect.Value, container reflect.Value, key reflect.Value, ...) (bool, error)
- type IterateMapSliceCallback
- type Mapi
- type MapiAct
- type Mapper
- func (o *Mapper) Correspond(args []interface{}) interface{}
- func (o *Mapper) GetData(key string) interface{}
- func (o *Mapper) Init(name string, options map[string]interface{}, inherit *Mapper)
- func (o *Mapper) Map(mo interface{}, clone bool) (rm map[string]interface{}, err error)
- func (o *Mapper) Maps(m []interface{}, clone bool) (rms []interface{}, err error)
- func (o *Mapper) Replace(args []interface{}) interface{}
- func (o *Mapper) SetData(key string, val interface{})
- func (o *Mapper) TimeFormat(args []interface{}) interface{}
- func (o *Mapper) TimeUnix(args []interface{}) interface{}
- type MapperManager
- type ReflectDelegate
- type SuppressComplexCallback
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FuncCallByName ¶
func FuncCallByNameSimple ¶
func IsMapOrStruct ¶
func IsMapOrStruct(v interface{}) bool
func IsPointable ¶
func IsPointable(v interface{}) bool
func IterateMapSlice ¶
func MarshalLazy ¶
func ReflectValuesToList ¶
Types ¶
type IterateMapSliceCallback ¶
type Mapper ¶
type Mapper struct { Name string // contains filtered or unexported fields }
func (*Mapper) Correspond ¶
func (o *Mapper) Correspond(args []interface{}) interface{}
func (*Mapper) TimeFormat ¶
func (o *Mapper) TimeFormat(args []interface{}) interface{}
type MapperManager ¶
type MapperManager struct {
// contains filtered or unexported fields
}
func GetMapperManager ¶
func GetMapperManager() *MapperManager
func (*MapperManager) Get ¶
func (o *MapperManager) Get(name string) *Mapper
func (*MapperManager) Init ¶
func (o *MapperManager) Init(options map[string]interface{})
func (*MapperManager) Register ¶
func (o *MapperManager) Register(name string, mapper *Mapper)
func (*MapperManager) UnRegister ¶
func (o *MapperManager) UnRegister(name string)
type ReflectDelegate ¶
type ReflectDelegate interface {
Delegate() interface{}
}
Click to show internal directories.
Click to hide internal directories.