Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayType ¶
ArrayType array type
func (*ArrayType) IsReference ¶
IsReference return is reference
func (*ArrayType) SetReference ¶
SetReference return is reference
type BasicType ¶
BasicType go buildin type
func (*BasicType) IsReference ¶
IsReference return is reference
func (*BasicType) SetReference ¶
SetReference return is reference
type InterfaceType ¶
InterfaceType struct type
func (*InterfaceType) IsReference ¶
func (t *InterfaceType) IsReference() bool
IsReference return is reference
func (*InterfaceType) SetReference ¶
func (t *InterfaceType) SetReference() Typer
SetReference return is reference
func (*InterfaceType) String ¶
func (t *InterfaceType) String() string
type Method ¶
type Method struct { Name string // method name Comments []string Options []string Parameters []*Field Results []*Field }
Method service method
type ServiceSpec ¶
type ServiceSpec struct { Name string // origin service package name Package string // service import path ImportPath string Receiver string Methods []*Method }
ServiceSpec service spec
type StructType ¶
type StructType struct { Package string ImportPath string IdentName string Reference bool Fields []*Field ProtoFile string }
StructType struct type
func (*StructType) IsReference ¶
func (t *StructType) IsReference() bool
IsReference return is reference
func (*StructType) SetReference ¶
func (t *StructType) SetReference() Typer
SetReference return is reference
func (*StructType) String ¶
func (t *StructType) String() string
Click to show internal directories.
Click to hide internal directories.