增加数据类型枚举
This commit is contained in:
		@ -8,6 +8,9 @@
 | 
			
		||||
package consts
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	DataTypeUnknown             = "unknown"           // 位置数据类型
 | 
			
		||||
	DataTypeNil                 = "nil"               // nil
 | 
			
		||||
	DataTypePtr                 = "ptr"               // 指针
 | 
			
		||||
	DataTypeInt                 = "int"               // int类型 -> int64
 | 
			
		||||
	DataTypeUint                = "uint"              // uint类型 -> uint64
 | 
			
		||||
	DataTypeFloat               = "float"             // float类型 -> float64
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user