package
0.54.0
Repository: https://github.com/lucassabreu/clockify-cli.git
Documentation: pkg.go.dev

# Functions

Filter will run the function for every entry of the slice and will return a new slice with the entries that return true when used on the function.
InSlice will return true if the needle is one of the values in list.
IsSimilar will convert the string into a regex and return a function the checks if a second string is similar to it.
ListForHumans returns a string listing the strings from the parameter Example: ListForHumans([]string{"one", "two", "three"}) will output: "one, two and three".
Map will apply the map function provided on every entry of the string slice and return a slice with the changes.
Normalize a string removes all non-english characters and lower case the string to help compare it with other strings.
PadSpace will add spaces to the end of a string until it reaches the size set at the second parameter.
Search will search for a exact match of the string on the slide provided and if found will return its index position, or -1 if not.
Unique will remove all duplicated strings from the slice.