Documentation
¶
Index ¶
- 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
- type BeeMap
- type Email
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
FileExists reports whether the named file or directory exists.
func GetDisplayString ¶ added in v1.4.0
func GetDisplayString(data ...interface{}) string
GetDisplayString return data print string
func GetGOPATHs ¶ added in v1.8.1
func GetGOPATHs() []string
GetGOPATHs returns all paths in GOPATH variable.