Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
type Annotations ¶
type Annotations []Annotation
func (Annotations) Exist ¶
func (a Annotations) Exist(annotation string) bool
type Generator ¶
type Generator struct { }
func NewGenerator ¶
func NewGenerator() Generator
func (*Generator) GenerateProxy ¶
func (*Generator) GenerateTxMiddleware ¶
type Interface ¶
type Interfaces ¶
type Interfaces []Interface
func (Interfaces) Names ¶
func (i Interfaces) Names() []string
type Method ¶
type Method struct { ProxyTypeName string Name string Annotations Annotations Params string ParamNames string ParamNamesWithHelperContext string UserContextParam string HelperContextParam string ResultVars string ResultTypes string Results Results HasResults bool UseProxy bool HasError bool HasContext bool }
type Methods ¶
type Methods []Method
func (Methods) AllAnnotations ¶
func (m Methods) AllAnnotations() Annotations
type ParseParam ¶
type Template ¶
type Template struct { FileName string FilePath string Data *TemplateData }
type TemplateData ¶
type TemplateData struct { SourceFile string PackageName string Imports []Import Interfaces Interfaces }
Click to show internal directories.
Click to hide internal directories.