diff --git a/define/data_type.go b/define/data_type.go new file mode 100644 index 0000000..ee6c32b --- /dev/null +++ b/define/data_type.go @@ -0,0 +1,25 @@ +// Package define ... +// +// Description : define ... +// +// Author : go_developer@163.com<白茶清欢> +// +// Date : 2024-04-07 22:39 +package define + +const ( + DataTypeAny = "any" // 任意类型 + DataTypeString = "string" // 字符串 + DataTypeInt = "int" // int类型 + DataTypeUint = "uint" // uint类型 + DataTypeFloat = "float" // float类型 + DataTypeBool = "bool" // 布尔类型 + DataTypeMapStrAny = "map[string]any" // key为字符串的map + DataTypeAnyAny = "map[any]any" // key为任意类型的map + DataTypeSliceAny = "[]any" // 任意类型的切片 + DataTypeSliceString = "[]string" // 字符串数组 + DataTypeSliceInt = "[]int" // int数组 + DataTypeSliceUint = "[]uin" // uint数组 + DataTypeSliceFloat = "[]float" // float数组 + DataTypeSliceBool = "[]bool" // bool数组 +)