datatypes

package
v5.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Array = payload.TypeArray

Array defines the KUSANAGI data type for array values.

View Source
const Binary = payload.TypeBinary

Binary defines the KUSANAGI data type for binary values.

View Source
const Boolean = payload.TypeBoolean

Boolean defines the KUSANAGI data type for boolean values.

View Source
const Float = payload.TypeFloat

Float defines the KUSANAGI data type for float values.

View Source
const Integer = payload.TypeInteger

Integer defines the KUSANAGI data type for integer values.

View Source
const MaxInt = int(MaxUint >> 1)

MaxInt defines the maximum size for an integer.

View Source
const MaxUint = ^uint(0)

MaxUint defines the maximum size for an unsigned integer>

View Source
const MinInt = -MaxInt - 1

MinInt defines the minimum size for an integer.

View Source
const MinUint = 0

MinUint defines the minimum size for an unsigned integer.

Null defines the KUSANAGI data type for null values.

View Source
const Object = payload.TypeObject

Object defines the KUSANAGI data type for object values.

View Source
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.

Jump to

Keyboard shortcuts

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