func GetTypeOf()

in utils/util.go [37:109]


func GetTypeOf(value interface{}) string {
	switch value.(type) {
	case int:
		return "int"
	case int32:
		return "int"
	case int64:
		return "bigint"
	case string:
		return "string"
	case float64:
		return "float64"
	case bool:
		return "bool"
	case []int:
		return "list<int>"
	case []int32:
		return "list<int>"
	case []int64:
		return "list<int64>"
	case []float32:
		return "list<float>"
	case []float64:
		return "list<double>"
	case []string:
		return "list<string>"
	case [][]float32:
		return "list<list<float>>"
	case [][]float64:
		return "list<list<double>>"
	case map[string]string:
		return "map<string,string>"
	case map[string]int:
		return "map<string,int>"
	case map[string]int32:
		return "map<string,int>"
	case map[string]int64:
		return "map<string,int64>"
	case map[string]float32:
		return "map<string,float>"
	case map[string]float64:
		return "map<string,double>"
	case map[int]int:
		return "map<int,int>"
	case map[int]int32:
		return "map<int,int>"
	case map[int32]int32:
		return "map<int,int>"
	case map[int]int64:
		return "map<int,int64>"
	case map[int]float32:
		return "map<int,float>"
	case map[int]float64:
		return "map<int,double>"
	case map[int]string:
		return "map<int,string>"
	case map[int64]int64:
		return "map<int64,int64>"
	case map[int64]int:
		return "map<int64,int>"
	case map[int64]int32:
		return "map<int64,int>"
	case map[int64]float32:
		return "map<int64,float>"
	case map[int64]float64:
		return "map<int64,double>"
	case map[int64]string:
		return "map<int64,string>"
	default:
		fmt.Printf("ConvertFeatures not find tyep info, value:%v, type:%T\n", value, value)
		return "none"
	}
}