func (m *Meta) MakeSlice() interface{} {
	slice := reflect.MakeSlice(reflect.SliceOf(reflect.TypeOf(m.model)), 0, 0)
	pointer := reflect.New(slice.Type())
	pointer.Elem().Set(slice)
	return pointer.Interface()
}
func (m *Meta) MakeSlice() interface{} {
	slice := reflect.MakeSlice(reflect.SliceOf(reflect.TypeOf(m.model)), 0, 0)
	pointer := reflect.New(slice.Type())
	pointer.Elem().Set(slice)
	return pointer.Interface()
}
func ( m * Meta ) MakeSlice ( ) interface { } { slice := reflect . MakeSlice ( reflect . SliceOf ( reflect . TypeOf ( m . model ) ) , 0 , 0 ) pointer := reflect . New ( slice . Type ( ) ) pointer . Elem ( ) . Set ( slice ) return pointer . Interface ( ) }
// MakeSlice returns a pointer to a zero length slice of the model e.g. *[]*Post.
//
// Note: Don't forget to initialize the slice using InitSlice() after adding
// elements with libraries like mgo.
MakeSlice returns a pointer to a zero length slice of the model e . g . * [] * Post . Note : Don t forget to initialize the slice using InitSlice () after adding elements with libraries like mgo .