formatter

package
v1.3.10 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JSONEncoder = jsonEncode{}
View Source
var PrettyEncoder = prettyEncode{}

Functions

func AsStringer

func AsStringer(v interface{}, encoder ...Encoder) fmt.Stringer

Types

type Encoder

type Encoder interface {
	Encode(interface{}) string
}

Jump to

Keyboard shortcuts

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