record.go
func (r Record) GetSlice(column string) ([]interface{}, error) {
	v, err := r.getKey(reflect.Slice, column)
	if err != nil {
		return nil, err
	}

	rv := reflect.ValueOf(v)
	n := rv.Len()
	out := make([]interface{}, n)

	for i := 0; i < n; i++ {
		out[i] = rv.Index(i).Interface()
	}

	return out, nil
}
func (r Record) GetSlice(column string) ([]interface{}, error) {
	v, err := r.getKey(reflect.Slice, column)
	if err != nil {
		return nil, err
	}

	rv := reflect.ValueOf(v)
	n := rv.Len()
	out := make([]interface{}, n)

	for i := 0; i < n; i++ {
		out[i] = rv.Index(i).Interface()
	}

	return out, nil
}
func ( r Record ) GetSlice ( column string ) ( [ ] interface { } , error ) { v , err := r . getKey ( reflect . Slice , column ) if err != nil { return nil , err } rv := reflect . ValueOf ( v ) n := rv . Len ( ) out := make ( [ ] interface { } , n ) for i := 0 ; i < n ; i ++ { out [ i ] = rv . Index ( i ) . Interface ( ) } return out , nil }
// GetSlice returns a slice of interface value for a specific column.
GetSlice returns a slice of interface value for a specific column .