From 5e785171ed676db2eb3ee5bd5f4abfb5a76f5570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Fri, 5 May 2023 14:46:14 +0800 Subject: [PATCH] update --- define.go | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 define.go 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" +)