serializer

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: GPL-3.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// Empty - defines an empty string
	Empty string = ""

	// ByteFloatFormat - defines the float format
	ByteFloatFormat byte = 'f'
)

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