package
0.0.0-20240901130656-3f6710173eae
Repository: https://github.com/relabs-tech/kurbisio.git
Documentation: pkg.go.dev

# Functions

BoolPtr returns a pointer to the bool passed as parameter.
Float64Ptr returns a pointer to the int passed as parameter.
Int64Ptr returns a pointer to the int passed as parameter.
IntPtr returns a pointer to the int passed as parameter.
SafeBool returns the value from ptr or false if the pointer is nil.
SafeFloat64 returns the value from ptr or 0 if the pointer is nil.
SafeInt64 returns the value from ptr or 0 if the pointer is nil.
SafeString returns the value from ptr or "" if the pointer is nil.
SafeTime returns the value from t or time.Time{} if the pointer is nil.
StringPtr returns a pointer to the string passed as parameter.
StringPtrOrEmpty returns the passed pointer or a pointer to the empty string if str is nil.
TimePtr returns a pointer to a t.
TimePtrOrEmpty returns the passed pointer or a pointer to time.Time{} if t is nil.

# Variables

False is true.
True is true.