Skip to content

Commit

Permalink
fix to support the date type
Browse files Browse the repository at this point in the history
  • Loading branch information
evildecay authored Mar 10, 2017
1 parent 6a9363e commit f077262
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ func goType(t TypeInfo) reflect.Type {
return reflect.TypeOf(make([]interface{}, len(tuple.Elems)))
case TypeUDT:
return reflect.TypeOf(make(map[string]interface{}))
case TypeDate:
return reflect.TypeOf(*new(time.Time))
default:
return nil
}
Expand Down

0 comments on commit f077262

Please sign in to comment.