Pacote: golang-github-bep-tmc-dev (0.5.1-3)
Links para golang-github-bep-tmc-dev
Recursos de Debian:
- Relatórios de bug
- Informação de desenvolvedor(a)
- Debian Changelog
- Arquivo de copyright
- Rastreador de patch Debian
Baixe o pacote-fonte golang-github-bep-tmc:
- [golang-github-bep-tmc_0.5.1-3.dsc]
- [golang-github-bep-tmc_0.5.1.orig.tar.gz]
- [golang-github-bep-tmc_0.5.1-3.debian.tar.xz]
Mantenedores(as):
Fontes externas:
- Pagina principal [github.com]
Pacotes similares:
- golang-github-invopop-yaml-dev
- golang-github-invopop-jsonschema-dev
- golang-github-bmatsuo-lmdb-go-dev
- golang-github-google-go-cmp-dev
- ffjson
- golang-github-go-viper-mapstructure-dev
- golang-github-pquerna-ffjson-dev
- golang-github-mitchellh-mapstructure-dev
- golang-github-cue-lang-cue-dev
- libghc-hsyaml-doc
- libghc-hsyaml-prof
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.
Outros pacotes relacionados a golang-github-bep-tmc-dev
|
|
|
|
-
- dep: golang-github-frankban-quicktest-dev
- quick helpers for testing Go applications
-
- dep: golang-github-google-go-cmp-dev
- Package for comparing Go values in tests
-
- dep: golang-yaml.v2-dev
- pacote virtual fornecido por golang-gopkg-yaml.v2-dev
Download de golang-github-bep-tmc-dev
Arquitetura | Tamanho do pacote | Tamanho instalado | Arquivos |
---|---|---|---|
all | 8.1 kB | 36.0 kB | [lista de arquivos] |