Versions in this module Expand all Collapse all v1 v1.12.5 Jul 9, 2021 Changes in this version + func Display(data ...interface{}) + func FileExists(name string) bool + func GetDisplayString(data ...interface{}) string + func GetFuncName(i interface{}) string + func GetGOPATHs() []string + 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 PrintPointerInfo(buf *bytes.Buffer, headlen int, pointers *pointerInfo) + func RandomCreateBytes(n int, alphabets ...byte) []byte + 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 Stack(skip int, indent string) []byte + type Attachment struct + Content []byte + Filename string + Header textproto.MIMEHeader + 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 Email struct + Attachments []*Attachment + Auth smtp.Auth + Bcc []string + Cc []string + From string + HTML string + Headers textproto.MIMEHeader + Host string + Identity string + Password string + Port int + ReadReceipt []string + Subject string + Text string + To []string + Username string + func NewEMail(config string) *Email + func (e *Email) Attach(r io.Reader, filename string, args ...string) (a *Attachment, err error) + func (e *Email) AttachFile(args ...string) (a *Attachment, err error) + func (e *Email) Bytes() ([]byte, error) + func (e *Email) Send() error