serializer

package
v0.0.0-...-af24b05 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 36

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).

func WriteString

func WriteString(i interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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