Skip to content
Sections
>> Trisquel >> Paket >> nabia >> devel >> golang-github-apparentlymart-go-dump-dev
nabia  ] [  aramo  ]

Paket: golang-github-apparentlymart-go-dump-dev (0.0~git20190214.042adf3-1)

utility for formatting Go values in a pretty-printed way

This package attempts to find a nice compromise between the built-in formatter and more advanced formatters like go-spew (https://github.com/davecgh/go-spew). Go types often implement the fmt.GoStringer interface to produce a more concise representation of values in Go syntax, but conventionally this result is a single-line string and thus hard to read for larger data structures. go-spew instead produces a formatted dump of a value by using the reflect package to analyze its contents, but this often exposes the internals of data structures that make the result hard to read.

Hämta golang-github-apparentlymart-go-dump-dev

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 3,2 kbyte18 kbyte [filförteckning]