serializer

package
v0.0.0-...-d374ac5 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(ww io.Writer, i interface{})

Write writes Go-syntax representation of v into w. This is similar to fmt.Fprintf(w, "%#v", v), but properly handles pointers, does not write package names before types, omits struct fields with default values, omits type names where possible, etc. On the other hand, it currently does not support all types (e.g. channels and maps).

Types

This section is empty.

Jump to

Keyboard shortcuts

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