Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Empty - defines an empty string Empty string = "" // Null - defines an null string Null string = "null" // ByteFloatFormat - defines the float format ByteFloatFormat byte = 'f' )
Variables ¶
This section is empty.
Functions ¶
func InterfaceHasZeroValue ¶ added in v1.3.1
func InterfaceHasZeroValue(x interface{}) bool
InterfaceHasZeroValue - is a value from a interface zero? (nil)
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
Click to show internal directories.
Click to hide internal directories.