Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalizeSlice ¶
CanonicalizeSlice checks if the input is a slice and if all elements are of the same type. If so, it returns the slice or converts to a more specific slice type, otherwise returns the original slice.
func DetectAndReturnStringListIfPresent ¶
DetectAndReturnStringListIfPresent checks if the input interface{} is a slice with only string elements and returns the slice and a bool indicating if a string slice was found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.