Documentation ¶ Index ¶ func ToArgsName(fieldName string) string type Method type Param type Params func (params Params) InputArgs() string func (params Params) QueryArgs() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ToArgsName ¶ func ToArgsName(fieldName string) string Types ¶ type Method ¶ type Method struct { Field *schema.Field MethodName string Params Params Query string } type Param ¶ type Param struct { PkgPath string // package's path: internal/model Package string // package's name: model Name string // param's name: user Type string // param's type: User IsArray bool // is array or not IsPointer bool // is pointer or not } type Params ¶ type Params []*Param func (Params) InputArgs ¶ func (params Params) InputArgs() string func (Params) QueryArgs ¶ func (params Params) QueryArgs() string Source Files ¶ View all Source files method.go Click to show internal directories. Click to hide internal directories.