code: func (res *Resource) NewSlice() interface{} {
  	if res.Value == nil {
  		return nil
  	}
  	sliceType := reflect.SliceOf(reflect.TypeOf(res.Value))
  	slice := reflect.MakeSlice(sliceType, 0, 0)
  	slicePtr := reflect.New(sliceType)
  	slicePtr.Elem().Set(slice)
  	return slicePtr.Interface()
  }
docs: // NewSlice initialize a slice of struct for the Resource