File: control

package info (click to toggle)
golang-github-goji-param 0.0~git20160927.d7f49fd-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 104 kB
  • sloc: makefile: 2
file content (38 lines) | stat: -rw-r--r-- 1,616 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Source: golang-github-goji-param
Section: devel
Priority: optional
Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>
Uploaders: Alexandre Viau <aviau@debian.org>
Build-Depends: debhelper (>= 10),
               dh-golang,
               golang-any
Standards-Version: 4.1.1
Homepage: https://github.com/goji/param
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-goji-param
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-goji-param.git
XS-Go-Import-Path: github.com/goji/param
Testsuite: autopkgtest-pkg-go

Package: golang-github-goji-param-dev
Architecture: all
Depends: ${shlibs:Depends},
         ${misc:Depends}
Description: 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