Documentation ¶
Index ¶
- func ApplyJitter(input int) int
- func DirExists(directory string) bool
- func FileExists(filename string) bool
- func IntArrayContains(array []int, search int) bool
- func PathExists(path string) bool
- func StringArrayContains(array []string, search string) bool
- func ToLowerSnakeCase(in string) string
- func ToUpperSnakeCase(in string) string
- func WatchForFileChanges(filePath string, functionOnChange func(fsnotify.Event))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IntArrayContains ¶
IntArrayContains checks if an array contains a specific value
func StringArrayContains ¶
StringArrayContains checks if an array contains a specific value
func ToLowerSnakeCase ¶
ToLowerSnakeCase turns any input string into an lower snake cased string
func ToUpperSnakeCase ¶
ToUpperSnakeCase turns any input string into an upper snake cased string
func WatchForFileChanges ¶
WatchForFileChanges waits for a change to the provided file path and then executes the function
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.