util

package
v0.0.0-...-1c95f08 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TIME      = "time"
	BLOB      = "blob"
	MAP       = "map"
	ARRAY     = "array"
	BOOLEAN   = "bool"
	INTEGER   = "int"
	FLOAT     = "float"
	DOUBLE    = "double"
	STRING    = "string"
	UUID      = "gocql.UUID"
	TIMESTAMP = "time.Time"
	BYTEARRAY = "[]uint8"
	BIGINT    = "*big.Int"
	BIGFLOAT  = "*big.Float"
	IP        = "*net.IP"
	UNSIGNED  = "uint"
)

Variables

This section is empty.

Functions

func DataToString

func DataToString(data interface{}, internalType string) string

func FromLua

func FromLua(value interface{}) (interface{}, error)

func StringToData

func StringToData(str, strType string) (interface{}, error)

func ToInternalType

func ToInternalType(external reflect.Type) (string, error)

func ToLua

func ToLua(L *lua.LState, value interface{}) (lua.LValue, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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