func Compact(items DashSlice) DashSlice {
	dashSlice := DashSlice{}
	for _, item := range items {
		if item != nil && item != false && item != 0 && item != "" {
			dashSlice = append(dashSlice, item)
		}
	}
	return dashSlice
}
Creates an array with all falsy values removed. The values false, 0, "", nil are falsy.
package godash
import (
	"fmt"
	"reflect"
	"strings"
)
func Chunk(items DashSlice, size int) []DashSlice {
	dashSlices := []DashSlice{}
	for _, item := range items {
		sliceLength := len(dashSlices)
		if sliceLength == 0 || len(dashSlices[sliceLength-1]) == size {
			dashSlices = append(dashSlices, DashSlice{})
			sliceLength++
		}
		dashSlices[sliceLength-1] = append(dashSlices[sliceLength-1], item)
	}
	return dashSlices
}