Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorArray ¶
func ErrorArray( multilineSeparator *gostringsseparator.Multiline, errorArray []error, addCharactersFn gostringsadd.CharactersFn, ) string
ErrorArray returns a formatted string containing all error messages from the given error array.
Parameters:
multilineSeparator - pointer to a Multiline separator that defines how to format the string errorArray - Slice of errors to be formatted addCharactersFn - function that adds characters to the formatted string
Returns:
A formatted string with all the error messages, or an empty string if the array is nil or empty.
func StringArray ¶
func StringArray( multilineSeparator *gostringsseparator.Multiline, stringArray []string, addCharactersFn gostringsadd.CharactersFn, ) string
StringArray returns a formatted string containing all elements of the given string array.
Parameters:
multilineSeparator - pointer to a Multiline separator that defines how to format the string stringArray - Slice of strings to be formatted addCharactersFn - function that adds characters to the formatted string
Returns:
A formatted string with all the strings in the array, or an empty string if the array is nil or empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.