Documentation ¶
Overview ¶
generate file: tag=schema_go: time=20220627 10:16:46.066
generate file: tag=schema_go: time=20220627 10:16:46.067
generate file: tag=schema_go: time=20220627 10:16:46.068
generate file: tag=schema_go: time=20220627 10:16:46.035
generate file: tag=schema_go: time=20220627 10:16:46.061
generate file: tag=schema_go: time=20220627 10:16:46.062
Index ¶
- type Class1
- type Class1Ref
- func (ref *Class1Ref) RefGet(obj reflectx.IRefObject, field string) (interface{}, bool)
- func (ref *Class1Ref) RefHas(field string) bool
- func (ref *Class1Ref) RefNew() reflectx.IRefObject
- func (ref *Class1Ref) RefSet(obj reflectx.IRefObject, field string, val interface{})
- func (ref *Class1Ref) RefType() string
- type M1Args
- type M1ArgsRef
- func (ref *M1ArgsRef) RefGet(obj reflectx.IRefObject, field string) (interface{}, bool)
- func (ref *M1ArgsRef) RefHas(field string) bool
- func (ref *M1ArgsRef) RefNew() reflectx.IRefObject
- func (ref *M1ArgsRef) RefSet(obj reflectx.IRefObject, field string, val interface{})
- func (ref *M1ArgsRef) RefType() string
- type M1Resp
- type M1RespRef
- func (ref *M1RespRef) RefGet(obj reflectx.IRefObject, field string) (interface{}, bool)
- func (ref *M1RespRef) RefHas(field string) bool
- func (ref *M1RespRef) RefNew() reflectx.IRefObject
- func (ref *M1RespRef) RefSet(obj reflectx.IRefObject, field string, val interface{})
- func (ref *M1RespRef) RefType() string
- type Parent
- type ParentRef
- func (ref *ParentRef) RefGet(obj reflectx.IRefObject, field string) (interface{}, bool)
- func (ref *ParentRef) RefHas(field string) bool
- func (ref *ParentRef) RefNew() reflectx.IRefObject
- func (ref *ParentRef) RefSet(obj reflectx.IRefObject, field string, val interface{})
- func (ref *ParentRef) RefType() string
- type RouteGroup
- type SampleClass
- type SampleClassRef
- func (ref *SampleClassRef) RefGet(obj reflectx.IRefObject, field string) (interface{}, bool)
- func (ref *SampleClassRef) RefHas(field string) bool
- func (ref *SampleClassRef) RefMapGet(obj reflectx.IRefObject, field string, key string) (interface{}, bool)
- func (ref *SampleClassRef) RefMapKeys(obj reflectx.IRefObject, field string) (keys []string)
- func (ref *SampleClassRef) RefMapNew(field string) interface{}
- func (ref *SampleClassRef) RefMapSet(obj reflectx.IRefObject, field string, key string, val interface{})
- func (ref *SampleClassRef) RefNew() reflectx.IRefObject
- func (ref *SampleClassRef) RefSet(obj reflectx.IRefObject, field string, val interface{})
- func (ref *SampleClassRef) RefSliceGet(obj reflectx.IRefObject, field string, index int) (interface{}, bool)
- func (ref *SampleClassRef) RefSliceLength(obj reflectx.IRefObject, field string) int
- func (ref *SampleClassRef) RefSliceNew(field string, len int, cap int) (r interface{})
- func (ref *SampleClassRef) RefSliceSet(obj reflectx.IRefObject, field string, index int, val interface{})
- func (ref *SampleClassRef) RefType() string
- type Sub
- type Sub1
- type Sub1Ref
- func (ref *Sub1Ref) RefGet(obj reflectx.IRefObject, field string) (interface{}, bool)
- func (ref *Sub1Ref) RefHas(field string) bool
- func (ref *Sub1Ref) RefMapGet(obj reflectx.IRefObject, field string, key string) (interface{}, bool)
- func (ref *Sub1Ref) RefMapKeys(obj reflectx.IRefObject, field string) (keys []string)
- func (ref *Sub1Ref) RefMapNew(field string) interface{}
- func (ref *Sub1Ref) RefMapSet(obj reflectx.IRefObject, field string, key string, val interface{})
- func (ref *Sub1Ref) RefNew() reflectx.IRefObject
- func (ref *Sub1Ref) RefSet(obj reflectx.IRefObject, field string, val interface{})
- func (ref *Sub1Ref) RefSliceGet(obj reflectx.IRefObject, field string, index int) (interface{}, bool)
- func (ref *Sub1Ref) RefSliceLength(obj reflectx.IRefObject, field string) int
- func (ref *Sub1Ref) RefSliceNew(field string, len int, cap int) (r interface{})
- func (ref *Sub1Ref) RefSliceSet(obj reflectx.IRefObject, field string, index int, val interface{})
- func (ref *Sub1Ref) RefType() string
- type SubRef
- func (ref *SubRef) RefGet(obj reflectx.IRefObject, field string) (interface{}, bool)
- func (ref *SubRef) RefHas(field string) bool
- func (ref *SubRef) RefMapGet(obj reflectx.IRefObject, field string, key string) (interface{}, bool)
- func (ref *SubRef) RefMapKeys(obj reflectx.IRefObject, field string) (keys []string)
- func (ref *SubRef) RefMapNew(field string) interface{}
- func (ref *SubRef) RefMapSet(obj reflectx.IRefObject, field string, key string, val interface{})
- func (ref *SubRef) RefNew() reflectx.IRefObject
- func (ref *SubRef) RefSet(obj reflectx.IRefObject, field string, val interface{})
- func (ref *SubRef) RefSliceGet(obj reflectx.IRefObject, field string, index int) (interface{}, bool)
- func (ref *SubRef) RefSliceLength(obj reflectx.IRefObject, field string) int
- func (ref *SubRef) RefSliceNew(field string, len int, cap int) (r interface{})
- func (ref *SubRef) RefSliceSet(obj reflectx.IRefObject, field string, index int, val interface{})
- func (ref *SubRef) RefType() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Class1Ref ¶
type Class1Ref struct { }
func (*Class1Ref) RefGet ¶
func (ref *Class1Ref) RefGet(obj reflectx.IRefObject, field string) (interface{}, bool)
func (*Class1Ref) RefNew ¶
func (ref *Class1Ref) RefNew() reflectx.IRefObject
type M1ArgsRef ¶
type M1ArgsRef struct { }
func (*M1ArgsRef) RefGet ¶
func (ref *M1ArgsRef) RefGet(obj reflectx.IRefObject, field string) (interface{}, bool)
func (*M1ArgsRef) RefNew ¶
func (ref *M1ArgsRef) RefNew() reflectx.IRefObject
type M1RespRef ¶
type M1RespRef struct { }
func (*M1RespRef) RefGet ¶
func (ref *M1RespRef) RefGet(obj reflectx.IRefObject, field string) (interface{}, bool)
func (*M1RespRef) RefNew ¶
func (ref *M1RespRef) RefNew() reflectx.IRefObject
type ParentRef ¶
type ParentRef struct { }
func (*ParentRef) RefGet ¶
func (ref *ParentRef) RefGet(obj reflectx.IRefObject, field string) (interface{}, bool)
func (*ParentRef) RefNew ¶
func (ref *ParentRef) RefNew() reflectx.IRefObject
type RouteGroup ¶
type SampleClass ¶
type SampleClass struct { Parent // 字符串 String string `descz:"_id" view:"popup"` // @alias int32 Int32 int Float32 float64 // 本包的枚举 // sample.Enum1 // A=0 // B=1 // C=2 Enum int // sample.Enum2 // A=1 // B=2 // C=4 Enum2 uint // enums.Enum3 // A=0 Enum3 int // 其他包的枚举 // sub.SubEnum // A=0 // B=1 SubEnum int // 本包的类 Class1 *Class1 // 其他包的类 Sub *Sub // array int // @see map key: sample.Enum1 // @see map key: A=0 // @see map key: B=1 // @see map key: C=2 Array []int ArraySt []*Sub // @see map key: enums.Enum3 // @see map key: A=0 // @see map value: enums.Enum3 // @see map value: A=0 Map map[string]int // @see map key: enums.Enum3 // @see map key: A=0 MapSt map[string]*Class1 Any interface{} }
Class 类
func (*SampleClass) RefType ¶
func (ref *SampleClass) RefType() string
type SampleClassRef ¶
type SampleClassRef struct {
ParentRef
}
func (*SampleClassRef) RefGet ¶
func (ref *SampleClassRef) RefGet(obj reflectx.IRefObject, field string) (interface{}, bool)
func (*SampleClassRef) RefHas ¶
func (ref *SampleClassRef) RefHas(field string) bool
func (*SampleClassRef) RefMapGet ¶
func (ref *SampleClassRef) RefMapGet(obj reflectx.IRefObject, field string, key string) (interface{}, bool)
func (*SampleClassRef) RefMapKeys ¶
func (ref *SampleClassRef) RefMapKeys(obj reflectx.IRefObject, field string) (keys []string)
func (*SampleClassRef) RefMapNew ¶
func (ref *SampleClassRef) RefMapNew(field string) interface{}
func (*SampleClassRef) RefMapSet ¶
func (ref *SampleClassRef) RefMapSet(obj reflectx.IRefObject, field string, key string, val interface{})
func (*SampleClassRef) RefNew ¶
func (ref *SampleClassRef) RefNew() reflectx.IRefObject
func (*SampleClassRef) RefSet ¶
func (ref *SampleClassRef) RefSet(obj reflectx.IRefObject, field string, val interface{})
func (*SampleClassRef) RefSliceGet ¶
func (ref *SampleClassRef) RefSliceGet(obj reflectx.IRefObject, field string, index int) (interface{}, bool)
func (*SampleClassRef) RefSliceLength ¶
func (ref *SampleClassRef) RefSliceLength(obj reflectx.IRefObject, field string) int
func (*SampleClassRef) RefSliceNew ¶
func (ref *SampleClassRef) RefSliceNew(field string, len int, cap int) (r interface{})
func (*SampleClassRef) RefSliceSet ¶
func (ref *SampleClassRef) RefSliceSet(obj reflectx.IRefObject, field string, index int, val interface{})
func (*SampleClassRef) RefType ¶
func (ref *SampleClassRef) RefType() string
type Sub1Ref ¶
type Sub1Ref struct { }
func (*Sub1Ref) RefGet ¶
func (ref *Sub1Ref) RefGet(obj reflectx.IRefObject, field string) (interface{}, bool)
func (*Sub1Ref) RefMapKeys ¶
func (ref *Sub1Ref) RefMapKeys(obj reflectx.IRefObject, field string) (keys []string)
func (*Sub1Ref) RefMapSet ¶
func (ref *Sub1Ref) RefMapSet(obj reflectx.IRefObject, field string, key string, val interface{})
func (*Sub1Ref) RefNew ¶
func (ref *Sub1Ref) RefNew() reflectx.IRefObject
func (*Sub1Ref) RefSet ¶
func (ref *Sub1Ref) RefSet(obj reflectx.IRefObject, field string, val interface{})
func (*Sub1Ref) RefSliceGet ¶
func (*Sub1Ref) RefSliceLength ¶
func (ref *Sub1Ref) RefSliceLength(obj reflectx.IRefObject, field string) int
func (*Sub1Ref) RefSliceNew ¶
func (*Sub1Ref) RefSliceSet ¶
func (ref *Sub1Ref) RefSliceSet(obj reflectx.IRefObject, field string, index int, val interface{})
type SubRef ¶
type SubRef struct {
Sub1Ref
}
func (*SubRef) RefGet ¶
func (ref *SubRef) RefGet(obj reflectx.IRefObject, field string) (interface{}, bool)
func (*SubRef) RefMapKeys ¶
func (ref *SubRef) RefMapKeys(obj reflectx.IRefObject, field string) (keys []string)
func (*SubRef) RefMapSet ¶
func (ref *SubRef) RefMapSet(obj reflectx.IRefObject, field string, key string, val interface{})
func (*SubRef) RefNew ¶
func (ref *SubRef) RefNew() reflectx.IRefObject
func (*SubRef) RefSet ¶
func (ref *SubRef) RefSet(obj reflectx.IRefObject, field string, val interface{})
func (*SubRef) RefSliceGet ¶
func (*SubRef) RefSliceLength ¶
func (ref *SubRef) RefSliceLength(obj reflectx.IRefObject, field string) int
func (*SubRef) RefSliceNew ¶
func (*SubRef) RefSliceSet ¶
func (ref *SubRef) RefSliceSet(obj reflectx.IRefObject, field string, index int, val interface{})
Source Files ¶
Click to show internal directories.
Click to hide internal directories.