1 // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
2 // Use of this source code is governed by a MIT style
3 // license that can be found in the LICENSE file.
9 type queryBinding struct{}
11 func (queryBinding) Name() string {
15 func (queryBinding) Bind(req *http.Request, obj interface{}) error {
16 values := req.URL.Query()
17 if err := mapForm(obj, values); err != nil {