fix data type enum
This commit is contained in:
parent
8ebc73a0df
commit
b75d2ec7f3
@ -36,7 +36,7 @@ func (df *DataType) IsValid() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
const (
|
||||
var (
|
||||
DataTypeUnknown DataType = "unknown" // 位置数据类型
|
||||
DataTypeNil DataType = "nil" // nil
|
||||
DataTypePtr DataType = "ptr" // 指针
|
||||
@ -67,7 +67,7 @@ const (
|
||||
DataTypeSliceMapAnyAny DataType = "[]map[any]any" // 字符串数组 -> []map[any]any, slice对象
|
||||
DataTypeSliceMapAnyAnyWithMarshal DataType = "[]map[any]any_marshal" // 字符串数组 -> []map[any]any, json序列化后的结果
|
||||
DataTypeSliceMapStringAny DataType = "[]map[string]any" // 字符串数组 -> map[string]any, slice对象
|
||||
DataTypeSliceMapStringAnyWithMarshal = "[]map[string]any_marshal" // 字符串数组 -> []map[string]any, slice对象, json序列化之后的结果
|
||||
DataTypeSliceMapStringAnyWithMarshal DataType = "[]map[string]any_marshal" // 字符串数组 -> []map[string]any, slice对象, json序列化之后的结果
|
||||
DataTypeMapStrInt DataType = "map[string]int" // map -> map[string]int64
|
||||
DataTypeMapStrIntWithMarshal DataType = "map[string]int_marshal" // map -> map[string]int64,json序列化之后的结果
|
||||
DataTypeMapStrUint DataType = "map[string]uint" // map -> map[string]uint64
|
||||
|
Loading…
x
Reference in New Issue
Block a user