Versions in this module Expand all Collapse all v1 v1.4.0 Aug 18, 2014 Changes in this version + func Display(data ...interface{}) + func GetDisplayString(data ...interface{}) string v1.3.0 Jun 19, 2014 v1.2.0 May 16, 2014 Changes in this version + func FileExists(name string) bool + func GetFuncName(i interface{}) 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 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{}) + 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) 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, c string) (a *Attachment, err error) + func (e *Email) AttachFile(filename string) (a *Attachment, err error) + func (e *Email) Bytes() ([]byte, error) + func (e *Email) Send() error