Debian Codegraph @

debian/control

raw
1 Source: golang-github-bep-tmc
2 Section: golang
3 Priority: optional
4 Maintainer: Debian Go Packaging Team <[email protected]>
5 Uploaders: Anthony Fok <[email protected]>
6 Rules-Requires-Root: no
7 Build-Depends: debhelper-compat (= 13),
8 dh-sequence-golang
9 Build-Depends-Indep: golang-any,
10 golang-github-frankban-quicktest-dev,
11 golang-github-google-go-cmp-dev,
12 golang-yaml.v2-dev
13 Testsuite: autopkgtest-pkg-go
14 Standards-Version: 4.6.1
15 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-bep-tmc
16 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-bep-tmc.git
17 Homepage: https://github.com/bep/tmc
18 XS-Go-Import-Path: github.com/bep/tmc
19
20 Package: golang-github-bep-tmc-dev
21 Architecture: all
22 Multi-Arch: foreign
23 Depends: golang-github-frankban-quicktest-dev,
24 golang-github-google-go-cmp-dev,
25 golang-yaml.v2-dev,
26 ${misc:Depends}
27 Description: provides round-trip serialization of typed Go maps
28 Codec for a Typed Map
29 .
30 bep/tmc provides basic roundtrip JSON etc. encoding/decoding of a
31 map[string]interface{} with custom type adapters.
32 .
33 Text based serialization formats like JSON and YAML are convenient, but
34 when used with Go maps, most type information gets lost in translation.
35 For structs, one can work around some of the limitations with custom
36 MarshalJSON, UnmarshalJSON, MarshalText and UnmarshalText.
37 For the commonly used flexible and schema-less "map[string]interface {}",
38 this is, as the author is aware of, not an option.
39 This library provides a solution to this problem.
40 .
41 See the GoDoc at https://godoc.org/github.com/bep/tmc for some
42 basic examples and how to configure custom codec, adapters, etc.