serializer

package
v0.0.0-...-f0d17a2 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0, 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