feat: 优化指针类型枚举值定义
This commit is contained in:
28
data_type.go
28
data_type.go
@@ -96,20 +96,20 @@ var (
|
|||||||
DataTypeMapStrSlice DataType = "map[string][]any" // map -> map[string][]any
|
DataTypeMapStrSlice DataType = "map[string][]any" // map -> map[string][]any
|
||||||
DataTypeMapStrSliceWithMarshal DataType = "map[string][]any_marshal" // map -> map[string][]any, json 序列化之后的结果
|
DataTypeMapStrSliceWithMarshal DataType = "map[string][]any_marshal" // map -> map[string][]any, json 序列化之后的结果
|
||||||
DataTypeAny DataType = "any" // 任意类型 -> any
|
DataTypeAny DataType = "any" // 任意类型 -> any
|
||||||
DataTypeStringPtr DataType = "string_ptr" // *string, 字符串指针
|
DataTypeStringPtr DataType = "*string" // *string, 字符串指针
|
||||||
DataTypeIntPtr DataType = "int_ptr" // *int64, int64指针
|
DataTypeIntPtr DataType = "*int" // *int64, int64指针
|
||||||
DataTypeInt8Ptr DataType = "int8_ptr" // *int8, int8指针
|
DataTypeInt8Ptr DataType = "*int8" // *int8, int8指针
|
||||||
DataTypeInt16Ptr DataType = "int16_ptr" // *int16, int16指针
|
DataTypeInt16Ptr DataType = "*int16" // *int16, int16指针
|
||||||
DataTypeInt32Ptr DataType = "int32_ptr" // *int32, int32指针
|
DataTypeInt32Ptr DataType = "*int32" // *int32, int32指针
|
||||||
DataTypeInt64Ptr DataType = "int64_ptr" // *int64, int64指针
|
DataTypeInt64Ptr DataType = "*int64" // *int64, int64指针
|
||||||
DataTypeUintPtr DataType = "uint_ptr" // *uint64, uint64指针
|
DataTypeUintPtr DataType = "*uint" // *uint64, uint64指针
|
||||||
DataTypeUint8Ptr DataType = "uint8_ptr" // *uint8, uint8指针
|
DataTypeUint8Ptr DataType = "*uint8" // *uint8, uint8指针
|
||||||
DataTypeUint16Ptr DataType = "uint16_ptr" // *uint16, uint16指针
|
DataTypeUint16Ptr DataType = "*uint16" // *uint16, uint16指针
|
||||||
DataTypeUint32Ptr DataType = "uint32_ptr" // *uint32, uint32指针
|
DataTypeUint32Ptr DataType = "*uint32" // *uint32, uint32指针
|
||||||
DataTypeUint64Ptr DataType = "uint64_ptr" // *uint64, uint64指针
|
DataTypeUint64Ptr DataType = "*uint64" // *uint64, uint64指针
|
||||||
DataTypeFloat32Ptr DataType = "float32_ptr" // *float32, float32指针
|
DataTypeFloat32Ptr DataType = "*float32" // *float32, float32指针
|
||||||
DataTypeFloat64Ptr DataType = "float64_ptr" // *float64, float64指针
|
DataTypeFloat64Ptr DataType = "*float64" // *float64, float64指针
|
||||||
DataTypeBoolPtr DataType = "bool_ptr" // *bool, 字符串指针
|
DataTypeBoolPtr DataType = "*bool" // *bool, 字符串指针
|
||||||
DataTypeTime DataType = "time.Time" // time.Time, json类型
|
DataTypeTime DataType = "time.Time" // time.Time, json类型
|
||||||
DataTypeJson DataType = "json" // json, json类型, 特殊的字符串
|
DataTypeJson DataType = "json" // json, json类型, 特殊的字符串
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user