套件: golang-github-goji-param-dev (0.0~git20160927.d7f49fd-6)
golang-github-goji-param-dev 的相關超連結
Trisquel 的資源:
下載原始碼套件 golang-github-goji-param:
- [golang-github-goji-param_0.0~git20160927.d7f49fd-6.dsc]
- [golang-github-goji-param_0.0~git20160927.d7f49fd.orig.tar.xz]
- [golang-github-goji-param_0.0~git20160927.d7f49fd-6.debian.tar.xz]
維護者:
Original Maintainers:
- Debian Go Packaging Team (郵件存檔)
- Utkarsh Gupta
外部的資源:
- 主頁 [github.com]
相似套件:
- libstring-tagged-perl
- golang-github-tendermint-go-wire-dev
- golang-github-valyala-fastjson-dev
- golang-github-go-playground-validator-v10-dev
- golang-github-coreos-go-json-dev
- golang-github-hashicorp-go-cleanhttp-dev
- golang-github-gcla-deep-dev
- libmoosex-role-parameterized-perl
- libparse-keyword-perl
- golang-github-mitchellh-mapstructure-dev
- golang-gopkg-go-playground-validator.v8-dev
Rack / jQuery style parameter parsing for Go
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