Explorar o código

add missing TypeUDT in goType

Chris Bannister %!s(int64=10) %!d(string=hai) anos
pai
achega
235f84cc80
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      helpers.go

+ 2 - 0
helpers.go

@@ -50,6 +50,8 @@ func goType(t TypeInfo) reflect.Type {
 		// what can we do here? all there is to do is to make a list of interface{}
 		tuple := t.(TupleTypeInfo)
 		return reflect.TypeOf(make([]interface{}, len(tuple.Elems)))
+	case TypeUDT:
+		return reflect.TypeOf(make(map[string]interface{}))
 	default:
 		return nil
 	}