Documentation ¶
Index ¶
- type Comment
- func (c *Comment) AddAccept(accept string)
- func (c *Comment) AddParam(param Param)
- func (c *Comment) AddProduce(prod string)
- func (c *Comment) AddResp(resp Resp)
- func (c *Comment) Decs() []string
- func (c *Comment) Merge(decl *dst.FuncDecl) bool
- func (c *Comment) SetParamRefType(name, refType string)
- type Param
- type Params
- type Resp
- type Route
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comment ¶
type Comment struct {
// contains filtered or unexported fields
}
Comment
func (*Comment) AddProduce ¶
func (*Comment) SetParamRefType ¶
type Param ¶
type Param struct { Name string Required bool RefType string Description string // contains filtered or unexported fields }
func NewBodyParam ¶
func NewFormDataParam ¶
func NewPathParam ¶
func NewQueryParam ¶
Click to show internal directories.
Click to hide internal directories.