增加数据类型枚举值
This commit is contained in:
		@ -14,10 +14,15 @@ const (
 | 
			
		||||
	DataTypeBool                = "bool"             // bool类型
 | 
			
		||||
	DataTypeString              = "string"           // 字符串类型
 | 
			
		||||
	DataTypeSliceInt            = "[]int"            // int数组 -> []int64
 | 
			
		||||
	DataTypeSliceIntWithChar    = "[]int_split"      // int数组 -> []int64, 按照指定字符切割
 | 
			
		||||
	DataTypeSliceUint           = "[]uint"           // uint数组 -> []uint64
 | 
			
		||||
	DataTypeSliceUintWithChar   = "[]uint_split"     // uint数组 -> []uint64, 指定字符切割
 | 
			
		||||
	DataTypeSliceFloat          = "[]float"          // float数组 -> []float64
 | 
			
		||||
	DataTypeSliceFloatWithChar  = "[]float_split"    // float数组 -> []float64, 指定字符切割
 | 
			
		||||
	DataTypeSliceBool           = "[]bool"           // bool数组 -> []bool
 | 
			
		||||
	DataTypeSliceBoolWithChar   = "[]bool_split"     // bool数组 -> []bool, 指定字符切割
 | 
			
		||||
	DataTypeSliceString         = "[]string"         // 字符串数组 -> []string
 | 
			
		||||
	DataTypeSliceStringWithChar = "[]string_split"   // 字符串数组 -> []string, 指定字符切割
 | 
			
		||||
	DataTypeMapStrInt           = "map[string]int"   // map -> map[string]int64
 | 
			
		||||
	DataTypeMapStrUint          = "map[string]uint"  // map -> map[string]uint64
 | 
			
		||||
	DataTypeMapStrFloat         = "map[string]float" // map -> map[string]float64
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user