Registry / utility / gdexlab-go-render

gdexlab-go-render

JSON →
library1.0.1gogounverified

A Go library for rendering data structures with custom formatting and indentation.

go get github.com/gdexlab/go-render
INSTALL
IMPORT
SIG · GDEXLAB-GO-RENDER
G
gdexlab-go-render
utilitygov1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

render
github.com/gdexlab/go-render

Render a Go value as formatted code.

package main import ( "fmt" "github.com/gdexlab/go-render" ) func main() { data := map[string]int{"a": 1, "b": 2} fmt.Println(render.AsCode(data)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
gdexlab-go-render — go get gdexlab-go-render · libregistry