Documentation ¶
Overview ¶
Package utils contains utility functions that are used everywhere in the app.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllFilesIn ¶
AllFilesIn recursively builds a list of the files in a given directory
func CaptureOutput ¶
func CaptureOutput(f func()) string
CaptureOutput executes a function and capture all the text outputed to logs. Used in unit tests.
func LinesInFile ¶
LinesInFile counts the number of lines in a file
func StringInSlice ¶
StringInSlice check wether a string is contain in a string slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.