Documentation ¶
Index ¶
- func UnderlyingOf(typ types.Type) types.Type
- type KindTuple
- func (k KindTuple) IsBasic() bool
- func (k KindTuple) IsKind(kind reflect.Kind) bool
- func (k KindTuple) IsKindTuple(kind KindTuple) bool
- func (k KindTuple) IsNillable() bool
- func (k KindTuple) IsNumber() bool
- func (k KindTuple) IsPtr() bool
- func (k KindTuple) IsPtrBasic() bool
- func (k KindTuple) IsPtrNumber() bool
- func (k KindTuple) IsSimple() bool
- func (k KindTuple) IsSimpleKind(ptr bool, kind reflect.Kind) bool
- func (k KindTuple) IsSlice() bool
- type TypeDesc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KindTuple ¶
type KindTuple struct { Ptr bool Container reflect.Kind // Only slice or array PtrElem bool Elem reflect.Kind // int32, int64, string, struct, map }
KindTuple represents an underlying type. We do not support double pointer.
func (KindTuple) IsKindTuple ¶
func (KindTuple) IsPtrBasic ¶
func (KindTuple) IsPtrNumber ¶
type TypeDesc ¶
TypeDesc describes types for generating code
func (*TypeDesc) IsBareTime ¶
func (*TypeDesc) IsSliceOfBasicOrTime ¶
Click to show internal directories.
Click to hide internal directories.