package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Nov 19, 2019
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
¶
Package repr is a library for generating string representations for values.
Map writes a string repr of a map to the given io.Writer
func Repr(o interface{}) string
Repr creates a string representation for the given value
Slice writes a string repr of a slice to the given io.Writer
String writes a string repr of a string to the given io.Writer
Struct writes a string repr of a struct to the given io.Writer
Time writes a string repr of a time.Time struct to the given io.Writer
Source Files
¶
Click to show internal directories.
Click to hide internal directories.