Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
FileExists reports whether the named file or directory exists.
func GrepFile ¶
GrepFile like command grep -E for example: GrepFile(`^hello`, "hello.txt") \n is striped while read
func SearchFile ¶
SearchFile Search a file in paths. this is often used in search config file in /etc ~/
Types ¶
type BeeMap ¶
type BeeMap struct {
// contains filtered or unexported fields
}
BeeMap is a map with lock
func (*BeeMap) Get ¶
func (m *BeeMap) Get(k interface{}) interface{}
Get from maps return the k's value
Click to show internal directories.
Click to hide internal directories.