Documentation ¶
Index ¶
- func ParseEnumInPackage(ng ggen.Engine, pkg *packages.Package) (map[string]*defs.Enum, error)
- func Services(ng ggen.Engine, pkg *packages.Package, kinds []defs.Kind) (services []*defs.Service, _ error)
- func SkipPointer(typ types.Type) types.Type
- func UnwrapNull(typ types.Type) types.Type
- type Info
- func (inf *Info) GetEnum(typ types.Type) *defs.Enum
- func (inf *Info) Init(ng ggen.Engine)
- func (inf *Info) IsArray(typ types.Type, inner *types.Type) bool
- func (inf *Info) IsBasic(typ types.Type, inner *types.Type) bool
- func (inf *Info) IsEnum(typ types.Type) bool
- func (inf *Info) IsID(typ types.Type) bool
- func (inf *Info) IsMap(typ types.Type) bool
- func (inf *Info) IsNamed(typ types.Type, inner *types.Type) bool
- func (inf *Info) IsNamedBasic(typ types.Type, inner *types.Type) bool
- func (inf *Info) IsNamedInterface(typ types.Type, inner *types.Type) bool
- func (inf *Info) IsNamedStruct(typ types.Type, inner *types.Type) bool
- func (inf *Info) IsNullBasic(typ types.Type, inner *types.Type) bool
- func (inf *Info) IsNullID(typ types.Type) bool
- func (inf *Info) IsNullStruct(typ types.Type, expectName string) bool
- func (inf *Info) IsSliceOfBytes(typ types.Type) bool
- func (inf *Info) IsTime(typ types.Type) bool
- type Meta
- type MetaKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseEnumInPackage ¶
Types ¶
type Info ¶
type Info struct { Meta // contains filtered or unexported fields }
func NewInfo ¶
func NewInfo(ng ggen.FilterEngine) *Info
func (*Info) IsNamedInterface ¶
Click to show internal directories.
Click to hide internal directories.