alla flaggor
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Källkod: golang-github-apparentlymart-go-dump  ]

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

Länkar för golang-github-apparentlymart-go-dump-dev

Screenshot

Debianresurser:

Hämta källkodspaketet golang-github-apparentlymart-go-dump:

Ansvariga:

Externa resurser:

Liknande paket:

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,3 kbyte18,0 kbyte [filförteckning]