serializer

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: GPL-3.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Serializer

type Serializer interface {

	// SerializeGeneric - serializes with the correct cast based on the struct ArrayItem
	SerializeGeneric(item interface{}) (string, error)

	// SerializeGenericArray - serializes with the correct cast based on the struct ArrayItem
	SerializeGenericArray(item ...interface{}) (string, error)
}

Serializer - a generic way to serialize

Jump to

Keyboard shortcuts

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