datatype

package
v0.0.0-...-93a7d75 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NumeberType = 1 + iota
	StringType
	BooleanType
	GenerictType
	UnSupportedType
)

datatypes

Variables

View Source
var ErrUnknownDataype = errors.New("unknown datatype")

ErrUnknownDataype #

Functions

func CheckBoolean

func CheckBoolean(values ...interface{}) bool

CheckBoolean #

func CheckNumber

func CheckNumber(values ...interface{}) bool

CheckNumber #

func CheckString

func CheckString(values ...interface{}) bool

CheckString #

func Checkdatatype

func Checkdatatype(value interface{}, datatype uint) bool

Checkdatatype of value is correct

func GetType

func GetType(value interface{}) (uint, bool)

GetType of value

func GetTypeString

func GetTypeString(value interface{}) string

GetTypeString #

func IsSupported

func IsSupported(value interface{}) bool

IsSupported check if datatype is supported

Types

This section is empty.

Jump to

Keyboard shortcuts

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