func DecodeQuery(r *http.Request, v interface{}) error {
	decoder := form.NewDecoder()
	decoder.SetTagName("query")

	values := url.Values{}

	if r.URL != nil {
		values = r.URL.Query()
	}

	return decoder.Decode(v, values)
}
// DecodeQuery decodes an entity from query
DecodeQuery decodes an entity from query
// DecodeQuery decodes an entity from query
func DecodeQuery(r *http.Request, v interface{}) error {
	decoder := form.NewDecoder()
	decoder.SetTagName("query")
	values := url.Values{}
	if r.URL != nil {
		values = r.URL.Query()
	}
	return decoder.Decode(v, values)
}
func DecodeQuery ( r * http . Request , v interface { } ) error { decoder := form . NewDecoder ( ) decoder . SetTagName ( " " ) values := url . Values { } if r . URL != nil { values = r . URL . Query ( ) } return decoder . Decode ( v , values ) }
DecodeQuery decodes an entity from query
DecodeQuery decodes an entity from query