File: control

package info (click to toggle)
golang-github-bep-tmc 0.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 108 kB
  • sloc: makefile: 2
file content (41 lines) | stat: -rw-r--r-- 1,729 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
39
40
41
Source: golang-github-bep-tmc
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Uploaders: Anthony Fok <foka@debian.org>
Section: devel
Testsuite: autopkgtest-pkg-go
Priority: optional
Build-Depends: debhelper-compat (= 12),
               dh-golang
Build-Depends-Indep: golang-any,
                     golang-github-frankban-quicktest-dev,
                     golang-github-google-go-cmp-dev,
                     golang-yaml.v2-dev
Standards-Version: 4.4.1
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-bep-tmc
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-bep-tmc.git
Homepage: https://github.com/bep/tmc
Rules-Requires-Root: no
XS-Go-Import-Path: github.com/bep/tmc

Package: golang-github-bep-tmc-dev
Architecture: all
Depends: ${misc:Depends},
         golang-github-frankban-quicktest-dev,
         golang-github-google-go-cmp-dev,
         golang-yaml.v2-dev
Description: provides round-trip serialization of typed Go maps
 Codec for a Typed Map
 .
 bep/tmc provides basic roundtrip JSON etc. encoding/decoding of a
 map[string]interface{} with custom type adapters.
 .
 Text based serialization formats like JSON and YAML are convenient, but
 when used with Go maps, most type information gets lost in translation.
 For structs, one can work around some of the limitations with custom
 MarshalJSON, UnmarshalJSON, MarshalText and UnmarshalText.
 For the commonly used flexible and schema-less "map[string]interface {}",
 this is, as the author is aware of, not an option.
 This library provides a solution to this problem.
 .
 See the GoDoc at https://godoc.org/github.com/bep/tmc for some
 basic examples and how to configure custom codec, adapters, etc.