Documentation ¶
Index ¶
- Constants
- Variables
- func CheckBoolean(values ...interface{}) bool
- func CheckNumber(values ...interface{}) bool
- func CheckString(values ...interface{}) bool
- func Checkdatatype(value interface{}, datatype uint) bool
- func GetType(value interface{}) (uint, bool)
- func GetTypeString(value interface{}) string
- func IsSupported(value interface{}) bool
Constants ¶
View Source
const ( NumberType = 1 + iota StringType BooleanType GenerictType NoneType UnSupportedType )
datatypes
Variables ¶
View Source
var ErrUnknownDataype = errors.New("unknown datatype")
ErrUnknownDataype #
Functions ¶
func CheckBoolean ¶
func CheckBoolean(values ...interface{}) bool
CheckBoolean checks whether values are boolean type
func CheckNumber ¶
func CheckNumber(values ...interface{}) bool
CheckNumber checks whether values are number type
func CheckString ¶
func CheckString(values ...interface{}) bool
CheckString checks whether values are string type
func Checkdatatype ¶
Checkdatatype of value is correct
func IsSupported ¶
func IsSupported(value interface{}) bool
IsSupported check if datatype is supported
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.