Documentation ¶
Overview ¶
Package utils implements some utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterStringFromList ¶
FilterStringFromList produces a new string slice that does not include the strToFilter argument.
func GenerateName ¶
GenerateName takes a name as string pointer. It returns name if pointer is not nil, otherwise it returns fallback with random suffix.
func GetDefaultLogger ¶
GetDefaultLogger returns a default zapr logger.
func StringInList ¶
StringInList returns a boolean indicating whether strToSearch is a member of the string slice passed as the first argument.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.