Hi there!
While using GetObject I ran into an issue regarding a member variable of the type map[string]map[int64]byte (or I’m just not getting it right ;)):
type Data struct{
Results map[string]map[int64]byte `as:“b”`
}
which gives me a reflect panic:
panic: reflect.Value.Convert: value of type map[interface {}]interface {} cannot be converted to type map[int64]uint8 [recovered] panic: reflect.Value.Convert: value of type map[interface {}]interface {} cannot be converted to type map[int64]uint8
While using GetObject with a map[interface{}map[interface{}]interface{} works just fine though I’d love to avoid writing custom cast routines. Is there an easier way to get a map of a map off a record without using custom cast routines?
Thanks
Korbi