Versions in this module Expand all Collapse all v0 v0.1.2 Apr 17, 2022 v0.1.1 Apr 14, 2022 Changes in this version + func FileExists(name string) bool + func GrepFile(patten string, filename string) (lines []string, err error) + func InSlice(v string, sl []string) bool + func InSliceIface(v interface{}, sl []interface{}) bool + func SearchFile(filename string, paths ...string) (fullpath string, err error) + func SelfDir() string + func SelfPath() string + func SliceChunk(slice []interface{}, size int) (chunkslice [][]interface{}) + func SliceDiff(slice1, slice2 []interface{}) (diffslice []interface{}) + func SliceFilter(slice []interface{}, a filtertype) (ftslice []interface{}) + func SliceIntersect(slice1, slice2 []interface{}) (diffslice []interface{}) + func SliceMerge(slice1, slice2 []interface{}) (c []interface{}) + func SlicePad(slice []interface{}, size int, val interface{}) []interface + func SliceRand(a []interface{}) (b interface{}) + func SliceRandList(min, max int) []int + func SliceRange(start, end, step int64) (intslice []int64) + func SliceReduce(slice []interface{}, a reducetype) (dslice []interface{}) + func SliceShuffle(slice []interface{}) []interface + func SliceSum(intslice []int64) (sum int64) + func SliceUnique(slice []interface{}) (uniqueslice []interface{}) + func Walk(fs http.FileSystem, root string, walkFn filepath.WalkFunc) error + type BeeMap struct + func NewBeeMap() *BeeMap + func (m *BeeMap) Check(k interface{}) bool + func (m *BeeMap) Count() int + func (m *BeeMap) Delete(k interface{}) + func (m *BeeMap) Get(k interface{}) interface{} + func (m *BeeMap) Items() map[interface{}]interface{} + func (m *BeeMap) Set(k interface{}, v interface{}) bool + type FileSystem struct + func (d FileSystem) Open(name string) (http.File, error)