Documentation ¶
Index ¶
- func Find(params Params, v interface{}) (bson.M, error)
- func FindOne(params Params, v interface{}) (bson.M, error)
- func GetPathParam(params Params, v interface{}) (bson.M, error)
- func GetQueryParam(params Params, v interface{}) (bson.M, error)
- func Option(params Params) db.FindOption
- func UnmarshalPathParams(params map[string]string, v interface{}) (map[string]interface{}, error)
- func UnmarshalQueryParam(query string, v interface{}) (map[string]interface{}, error)
- func ValidateRegex(v string) (*primitive.Regex, error)
- func ValidateText(v map[string]interface{}) (map[string]interface{}, error)
- type Params
- type ValueType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Option ¶
func Option(params Params) db.FindOption
func UnmarshalPathParams ¶
func UnmarshalQueryParam ¶
func ValidateText ¶
Types ¶
type Params ¶ added in v0.2.4
func GetRawParams ¶ added in v0.2.4
func GetRawParams(c echo.Context) Params
Click to show internal directories.
Click to hide internal directories.