# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package diff implements a linewise diff algorithm.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
Bool2Int converts bool to int.
Coalesce returns the first argument if it is not null, otherwise the second one.
CoalesceBool works like coalesce but for *bool.
CoalesceDuration works like coalesce but for time.Duration.
CoalesceInt works like coalesce but for int.
CoalesceInt32 works like coalesce but for *int32.
CoalesceInt64 works like coalesce but for int64.
CoalesceStrArr returns the first argument if it is not null, otherwise the second one.
CoalesceStrMap returns the first argument if it is not null, otherwise the second one.
CoalesceUInt32 works like coalesce but for uint32.
Diff returns diffs between 2 objects.
No description provided by the author
FindNamedStringSubmatch returns a map of strings holding the text of the matches of the r regular expression.
Compare two string slices while ignoring the order of elements.
IsSmallerQuantity : checks if first resource is of a smaller quantity than the second.
MapContains returns true if and only if haystack contains all the keys from the needle with matching corresponding values.
MaxInt32 : Return maximum of two integers provided via pointers.
No description provided by the author
NameFromMeta converts a metadata object to the NamespacedName name representation.
No description provided by the author
PrettyDiff shows the diff between 2 objects in an easy to understand format.
RandomPassword generates a secure, random alphanumeric password of a given length.
Iterate through slice and remove certain string, then return cleaned slice.
SliceContains.
SliceReplaceElement.
SubstractStringSlices finds elements in a that are not in b and return them as a result slice.
ToIntStr converts int to IntOrString type.
helper function to get bool pointers.