https://github.com/gregoryv/xr
Go package to pick values from a http.Request
https://github.com/gregoryv/xr
Last synced: about 1 year ago
JSON representation
Go package to pick values from a http.Request
- Host: GitHub
- URL: https://github.com/gregoryv/xr
- Owner: gregoryv
- License: mit
- Created: 2024-06-22T06:35:45.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-15T08:04:59.000Z (over 1 year ago)
- Last Synced: 2025-02-05T07:19:26.060Z (over 1 year ago)
- Language: Go
- Size: 74.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: license.txt
Awesome Lists containing this project
README
[gregoryv/xr](https://pkg.go.dev/github.com/gregoryv/xr) - Pick values from a http.Request
**Pick the meat of a bone**
Similar to decoding the body it supports reading values from
the path, query and forms. See [examples](https://pkg.go.dev/github.com/gregoryv/xr#pkg-examples).
The package supports a subset of tag names as defined by
[swaggest/openapi-go](https://github.com/swaggest/openapi-go).
Specifically the source of data
- path
- header
- query
- form