Versions in this module Expand all Collapse all v0 v0.1.1 Jun 26, 2021 v0.1.0 Jun 26, 2021 Changes in this version + const ChanTypeDirBoth + const ChanTypeDirRecv + const ChanTypeDirSend + type ArrayType struct + Elem Type + Len int + func (t ArrayType) Type() Type + type ChanType struct + Dir ChanTypeDir + Elem Type + func (t ChanType) Type() Type + type ChanTypeDir int + type FuncType struct + Inputs []TypeField + IsVariadic bool + Outputs []TypeField + func (t FuncType) Type() Type + type InterfaceType struct + Methods []InterfaceTypeMethod + func (t InterfaceType) Type() Type + type InterfaceTypeMethod struct + Func FuncType + Name string + type MapType struct + Elem Type + Key Type + func (t MapType) Type() Type + type PrimitiveKind string + const PrimitiveKindBool + const PrimitiveKindByte + const PrimitiveKindComplex128 + const PrimitiveKindComplex64 + const PrimitiveKindError + const PrimitiveKindFloat32 + const PrimitiveKindFloat64 + const PrimitiveKindInt + const PrimitiveKindInt16 + const PrimitiveKindInt32 + const PrimitiveKindInt64 + const PrimitiveKindInt8 + const PrimitiveKindString + const PrimitiveKindUint + const PrimitiveKindUint16 + const PrimitiveKindUint32 + const PrimitiveKindUint64 + const PrimitiveKindUint8 + const PrimitiveKindUintptr + type PrimitiveType struct + Kind PrimitiveKind + func (t PrimitiveType) Type() Type + type PtrType struct + Elem Type + func (t PtrType) Type() Type + type QualType struct + Name string + Package string + func (t QualType) Type() Type + type SliceType struct + Elem Type + func (t SliceType) Type() Type + type StructType struct + Fields []TypeField + func (t StructType) Type() Type + type Type struct + ArrayType *ArrayType + ChanType *ChanType + FuncType *FuncType + InterfaceType *InterfaceType + MapType *MapType + PrimitiveType *PrimitiveType + PtrType *PtrType + QualType *QualType + SliceType *SliceType + StructType *StructType + func GenerateTypesFromSpecs(typeSpecs ...TypeSpec) ([]Type, error) + func (t Type) IsArray() bool + func (t Type) IsChan() bool + func (t Type) IsFunc() bool + func (t Type) IsInterface() bool + func (t Type) IsMap() bool + func (t Type) IsPrimitive() bool + func (t Type) IsPtr() bool + func (t Type) IsQual() bool + func (t Type) IsSlice() bool + func (t Type) IsStruct() bool + type TypeField struct + Name string + Type Type + type TypeSpec struct + Name string + PackagePath string