Documentation ¶
Index ¶
- func FileExists(file_name string) bool
- func FilesInDirectory(root string) ([]string, error)
- func IntInSlice(a int, list []int) bool
- func NewUUID() (string, error)
- func ObjectKeys(data map[string]interface{}) []string
- func RandomString(n int) string
- func SliceIndex(limit int, predicate func(i int) bool) int
- func StrIsFloat(text string) bool
- func StrIsInt(text string) bool
- func StringInSlice(a string, list []string) bool
- func WalkFilesInDirectory(root string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func FilesInDirectory ¶
func ObjectKeys ¶
func RandomString ¶
newJobId generates and returns an job_id of desired length
func SliceIndex ¶
SliceIndex returns index of an item in a slice
func StrIsFloat ¶
strIsFloat checks if string cam be parsed as a float
func StringInSlice ¶
StringInSlice checks slice for occurance of a string
func WalkFilesInDirectory ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.