An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/mitranim/reqdec

Tool for decoding an HTTP request into a struct. Transparently supports different content types / encoding formats (JSON, URL-encoded form, multipart form). Transparently supports different request methods; for read-only methods such as GET parses inputs from the URL; for non-read-only methods parses inputs ONLY from the body. For URL-encoded and multipart forms, uses "github.com/mitranim/untext" to decode strings into Go values. For JSON, uses "encoding/json". Example:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/mitranim/reqdec
License: Unlicense
Latest release: 10 months ago
First release: almost 5 years ago
Namespace: github.com/mitranim
Last synced: 23 days ago

    Loading...
    Readme
    Loading...