pretty

package
v0.0.0-...-c45ffd1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package pretty provides utilities for pretty-printing any value that can be marshalled to JSON.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStringer

func NewStringer(a any) stringer

NewStringer creates a new stringer instance with the given value. The value will be converted to a string representation using JSON marshaling.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL