# Functions
No description provided by the author
GetReadableDuration returns a human-readable duration string in integer days preferably, or the original string if it's either not a valid duration or a days value is not integer.
No description provided by the author
IsValidUUID returns true if uuid is valid.
MapToSlice converts map[string]string to []string
Example:
Input: map[string]string{ "key1": "value1", "key2": "value2", "key3": "value3"} Output: []string{"key1=value1", "key2=value2", "key3=value3"}.
ReturnJSON writes JSON to the response body.
No description provided by the author
ValidateStruct validates the struct and returns error if there is any invalid values.
# Interfaces
No description provided by the author