package
0.0.0-20240510080100-1c003c80f533
Repository: https://github.com/nartvt/go-core.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
AllNil return true when all items are nil or Zero Deprecated: Use function AllEmpty instead.
AnyNil return true when at least one item is nil or Zero.
No description provided by the author
Empty returns an empty value.
FromPtr returns the pointer value or empty.
IsEmpty returns true if argument is a zero value.
IsNotEmpty returns true if argument is not a zero value.
T2 creates a tuple from a list of values.
T2Ptr creates a tuple from a list of values.
T3 creates a tuple from a list of values.
T3Ptr creates a tuple from a list of values.
ToPtr returns a pointer copy of value.
ToSlicePtr returns a slice of pointer copy of value.
Unzip2 accepts an array of grouped elements and creates an array regrouping the elements to their pre-zip configuration.
Unzip3 accepts an array of grouped elements and creates an array regrouping the elements to their pre-zip configuration.
Zip2 creates a slice of grouped elements, the first of which contains the first elements of the given arrays, the second of which contains the second elements of the given arrays, and so on.
Zip3 creates a slice of grouped elements, the first of which contains the first elements of the given arrays, the second of which contains the second elements of the given arrays, and so on.

# Structs

Entry
Entry defines a key/value pairs.
Tuple2 is a group of 2 elements (pair).
Tuple3 is a group of 3 elements.