summaryrefslogtreecommitdiff
path: root/vendor/github.com/gin-gonic/gin/binding/query.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/gin-gonic/gin/binding/query.go')
-rw-r--r--vendor/github.com/gin-gonic/gin/binding/query.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/gin-gonic/gin/binding/query.go b/vendor/github.com/gin-gonic/gin/binding/query.go
index 219743f2a..c958b88bd 100644
--- a/vendor/github.com/gin-gonic/gin/binding/query.go
+++ b/vendor/github.com/gin-gonic/gin/binding/query.go
@@ -1,4 +1,4 @@
-// Copyright 2017 Manu Martinez-Almeida. All rights reserved.
+// Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
@@ -12,7 +12,7 @@ func (queryBinding) Name() string {
return "query"
}
-func (queryBinding) Bind(req *http.Request, obj interface{}) error {
+func (queryBinding) Bind(req *http.Request, obj any) error {
values := req.URL.Query()
if err := mapForm(obj, values); err != nil {
return err