serializer

package
v0.0.0-...-b4fbdbd Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 42

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