Documentation
¶
Index ¶
- func CompareStringPointers(ptr1 *string, ptr2 *string, bothNilReturnTrue ...bool) bool
- func IsMatchingStringPointerInMap(ptr1 *string, rawMap interface{}, key string, bothNilReturnTrue ...bool) bool
- func PtrToBool(s bool) *bool
- func PtrToString(s string) *string
- func PtrToTime(s time.Time) *time.Time
- func SliceContainsItem(slice interface{}, item interface{}) bool
- func StringIndexOf(slice []string, item string) (int, error)
- func StringKeysFromMap(m interface{}) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareStringPointers ¶
func PtrToString ¶
func SliceContainsItem ¶
func SliceContainsItem(slice interface{}, item interface{}) bool
SliceContainsItem checks if a slice contains an item
func StringKeysFromMap ¶
func StringKeysFromMap(m interface{}) []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.