An open API service indexing awesome lists of open source software.

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

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