Documentation ¶
Index ¶
- func Exists(name string) bool
- func GetSha256(b []byte) string
- func MkDir(name string) bool
- func ReadAll(filePath string) ([]byte, error)
- func StringInSlice(a string, list []string) bool
- func UniqueSlice(slice []string) []string
- func UserHomeDir() string
- func WalkAllFilesInDir(dir string) ([]string, error)
- func WriteBytesFile(filename string, r io.Reader) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringInSlice ¶
StringInSlice returns whether or not a string exists in a slice.
func UniqueSlice ¶
UniqueSlice delete duplicate strings from an array of strings.
func UserHomeDir ¶
func UserHomeDir() string
func WalkAllFilesInDir ¶
WalkAllFilesInDir returns list of files in directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.