func (c BaseCollection) ToIntArray() []int {
	panic("not implement")
}
ToIntArray converts the collection into a plain golang slice which contains int.
package collection
import (
	"encoding/json"
	"github.com/shopspring/decimal"
)
type BaseCollection struct {
	value  interface{}
	length int
}
func (c BaseCollection) Value() interface{} {
	return c.value
}
func (c BaseCollection) Length() int {
	return c.length
}
func (c BaseCollection) Select(keys ...string) Collection {
	panic("not implement")
}
func (c BaseCollection) ToStruct(dist interface{}) {
	panic("not implement")
}
func (c BaseCollection) All() []interface{} {
	panic("not implement")
}
func (c BaseCollection) Avg(key ...string) decimal.Decimal {
	return c.Sum(key...).Div(decimal.New(int64(c.length), 0))
}
func (c BaseCollection) Sum(key ...string) decimal.Decimal {
	panic("not implement")
}
func (c BaseCollection) Min(key ...string) decimal.Decimal {
	panic("not implement")
}
func (c BaseCollection) Max(key ...string) decimal.Decimal {
	panic("not implement")
}
func (c BaseCollection) Join(delimiter string) string {
	panic("not implement")
}
func (c BaseCollection) Combine(value []interface{}) Collection {
	panic("not implement")
}
func (c BaseCollection) Pluck(key string) Collection {
	panic("not implement")
}