Documentation ¶
Index ¶
Constants ¶
const Array = payload.TypeArray
Array defines the KUSANAGI data type for array values.
const Binary = payload.TypeBinary
Binary defines the KUSANAGI data type for binary values.
const Boolean = payload.TypeBoolean
Boolean defines the KUSANAGI data type for boolean values.
const Float = payload.TypeFloat
Float defines the KUSANAGI data type for float values.
const Integer = payload.TypeInteger
Integer defines the KUSANAGI data type for integer values.
const MaxInt = int(MaxUint >> 1)
MaxInt defines the maximum size for an integer.
const MaxUint = ^uint(0)
MaxUint defines the maximum size for an unsigned integer>
const MinInt = -MaxInt - 1
MinInt defines the minimum size for an integer.
const MinUint = 0
MinUint defines the minimum size for an unsigned integer.
const Null = payload.TypeNull
Null defines the KUSANAGI data type for null values.
const Object = payload.TypeObject
Object defines the KUSANAGI data type for object values.
const String = payload.TypeString
String defines the KUSANAGI data type for string values.
Variables ¶
This section is empty.
Functions ¶
func ResolveType ¶
func ResolveType(value interface{}) string
ResolveType resolves the type for a Go native data type.
The resolved type is a KUSANAGI data type.
value: The value from where to resolve the type name.
Types ¶
This section is empty.