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

Top 3.8% on proxy.golang.org
Top 2.1% dependent packages on proxy.golang.org
Top 1.1% dependent repos on proxy.golang.org
Top 7.7% forks on proxy.golang.org
Top 0.4% docker downloads on proxy.golang.org

proxy.golang.org : github.com/goji/param

Package param deserializes parameter values into a given struct using magical reflection ponies. Inspired by gorilla/schema, but uses Rails/jQuery style param encoding instead of their weird dotted syntax. In particular, this package was written with the intent of parsing the output of jQuery.param. This package uses struct tags to guess what names things ought to have. If a struct value has a "param" tag defined, it will use that. If there is no "param" tag defined, the name part of the "json" tag will be used. If that is not defined, the name of the field itself will be used (no case transformation is performed). If the name derived in this way is the string "-", param will refuse to set that value. The parser is extremely strict, and will return an error if it has any difficulty whatsoever in parsing any parameter, or if there is any kind of type mismatch.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/goji/param
License: MIT
Latest release: over 2 years ago
First release: over 2 years ago
Namespace: github.com/goji
Dependent packages: 7
Dependent repositories: 25
Stars: 22 on GitHub
Forks: 6 on GitHub
Docker dependents: 124
Docker downloads: 9,215,026
See more repository details: repos.ecosyste.ms
Last synced: 18 days ago

    Loading...
    Readme
    Loading...