package
0.3.1
Repository: https://github.com/jjzcru/hog.git
Documentation: pkg.go.dev

# Functions

GetTimeFromString transform a string to a duration.
GetToken return a random token using md5 and the current time as a seed.
IsPathADir returns a bool depending if a path is a dir and an error if the file do not exist.
IsPathAFile returns a bool depending if a path is a file and an error if the file do not exist.
IsFileExist returns a bool depending if a file exist or not.
IsSubstring check if a string is a substring of another string.
PrintError display the error message in the cli.
RemoveDetachedFlag returns a command without the detached flag.
RemoveDuplicate takes a slice of string as input and remove the duplicates.