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

Paket: 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.

golang-github-apparentlymart-go-dump-dev herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 3,3 kB18 kB [Liste der Dateien]