diff --git a/define.go b/define.go new file mode 100644 index 0000000..3e14fcd --- /dev/null +++ b/define.go @@ -0,0 +1,45 @@ +// Package wrapper ... +// +// Description : wrapper ... +// +// Author : go_developer@163.com<白茶清欢> +// +// Date : 2023-05-05 14:44 +package wrapper + +const ( + DataTypeAny = "interface" + + DataTypeString = "string" + + DataTypeInt8 = "int8" + DataTypeInt16 = "int16" + DataTypeInt32 = "int32" + DataTypeInt64 = "int64" + DataTypeInt = "int" + + DataTypeUint8 = "uint8" + DataTypeUint16 = "uint16" + DataTypeUint32 = "uint32" + DataTypeUint64 = "uint64" + DataTypeUint = "uint" + + DataTypeBool = "bool" + + DataTypeNumber = "number" + + DataTypeFloat32 = "float32" + DataTypeFloat64 = "float64" + DataTypeDouble = "double" + DataTypeFloat = "float" + + DataTypeIntSlice = "[]int" + DataTypeUntSlice = "[]uint" + DataTypeNumberSlice = "[]number" + DataTypeFloatSlice = "[]float" + DataTypeBoolSlice = "[]bool" + DataTypeAnySlice = "[]interface" + + DataTypeObject = "map[string]interface" + DataTypeAnyObject = "map[interface]interface" +)