Documentation ¶
Index ¶
- func CreateDirIfNotExists(dirPath string)
- func GetEnvOr(envKey string, orValue string) string
- func GetTimePointer(time time.Time) *time.Time
- func Max(first int, second int) int
- func MergeAndRemoveDuplicates(first []string, second []string) []string
- func UnwrapError(ctx context.Context, err error) error
- type HttpError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDirIfNotExists ¶
func CreateDirIfNotExists(dirPath string)
CreateDirIfNotExists creates a directory if it does not exist
func GetEnvOr ¶
GetEnvOr returns the value of the ENV variable having the given key, or the provided orValue
func MergeAndRemoveDuplicates ¶
MergeAndRemoveDuplicates merges two slices of strings and removes duplicates
Types ¶
Click to show internal directories.
Click to hide internal directories.