Skip to content
Sections
>> Trisquel >> パッケージ >> nabia >> devel >> golang-github-apparentlymart-go-dump-dev
nabia  ] [  aramo  ]

パッケージ: 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.

golang-github-apparentlymart-go-dump-dev のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 3.2 kB18 kB [ファイル一覧]