diff --git a/column.go b/column.go index 72ee31b5..0e0def08 100644 --- a/column.go +++ b/column.go @@ -127,6 +127,9 @@ func (col *Column) ValueOfV(dataStruct *reflect.Value) (*reflect.Value, error) { keyValue := reflect.ValueOf(col.fieldPath[len(col.fieldPath)-1]) fieldValue = dataStruct.MapIndex(keyValue) return &fieldValue, nil + } else if dataStruct.Type().Kind() == reflect.Interface { + structValue := reflect.ValueOf(dataStruct.Interface()) + dataStruct = &structValue } level := len(col.fieldPath)