query.go
This file
The walk stopped after 200 commits: lines older than cf32d2d point at it.
chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d
lines 1–21why, one step back1// Copyright 2017 Manu Martinez-Almeida. All rights reserved.2// Use of this source code is governed by a MIT style3// license that can be found in the LICENSE file.45package binding67import "net/http"89type queryBinding struct{}1011func (queryBinding) Name() string {12 return "query"13}1415func (queryBinding) Bind(req *http.Request, obj any) error {16 values := req.URL.Query()17 if err := mapForm(obj, values); err != nil {18 return err19 }20 return validate(obj)21}