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

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

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.

Imuroi golang-github-apparentlymart-go-dump-dev

Imurointi kaikille saataville arkkitehtuureille
Arkkitehtuuri Paketin koko Koko asennettuna Tiedostot
all 3.3 kt18 kt [tiedostoluettelo]