package
0.0.0-20241117194613-1155835d94bf
Repository: https://github.com/airdb/toolbox.git
Documentation: pkg.go.dev
# Functions
Bool returns a pointer to the bool value passed in.
BoolMap converts a string map of bool values into a string map of bool pointers.
BoolSlice converts a slice of bool values into a slice of bool pointers.
BoolValue returns the value of the bool pointer passed in or false if the pointer is nil.
BoolValueMap converts a string map of bool pointers into a string map of bool values.
BoolValueSlice converts a slice of bool pointers into a slice of bool values.
Float32 returns a pointer to the float32 value passed in.
Float32Map converts a string map of float32 values into a string map of float32 pointers.
Float32Slice converts a slice of float32 values into a slice of float32 pointers.
Float32Value returns the value of the float32 pointer passed in or 0 if the pointer is nil.
Float32ValueMap converts a string map of float32 pointers into a string map of float32 values.
Float32ValueSlice converts a slice of float32 pointers into a slice of float32 values.
Float64 returns a pointer to the float64 value passed in.
Float64Map converts a string map of float64 values into a string map of float64 pointers.
Float64Slice converts a slice of float64 values into a slice of float64 pointers.
Float64Value returns the value of the float64 pointer passed in or 0 if the pointer is nil.
Float64ValueMap converts a string map of float64 pointers into a string map of float64 values.
Float64ValueSlice converts a slice of float64 pointers into a slice of float64 values.
Int returns a pointer to the int value passed in.
Int16 returns a pointer to the int16 value passed in.
Int16Map converts a string map of int16 values into a string map of int16 pointers.
Int16Slice converts a slice of int16 values into a slice of int16 pointers.
Int16Value returns the value of the int16 pointer passed in or 0 if the pointer is nil.
Int16ValueMap converts a string map of int16 pointers into a string map of int16 values.
Int16ValueSlice converts a slice of int16 pointers into a slice of int16 values.
Int32 returns a pointer to the int32 value passed in.
Int32Map converts a string map of int32 values into a string map of int32 pointers.
Int32Slice converts a slice of int32 values into a slice of int32 pointers.
Int32Value returns the value of the int32 pointer passed in or 0 if the pointer is nil.
Int32ValueMap converts a string map of int32 pointers into a string map of int32 values.
Int32ValueSlice converts a slice of int32 pointers into a slice of int32 values.
Int64 returns a pointer to the int64 value passed in.
Int64Map converts a string map of int64 values into a string map of int64 pointers.
Int64Slice converts a slice of int64 values into a slice of int64 pointers.
Int64Value returns the value of the int64 pointer passed in or 0 if the pointer is nil.
Int64ValueMap converts a string map of int64 pointers into a string map of int64 values.
Int64ValueSlice converts a slice of int64 pointers into a slice of int64 values.
Int8 returns a pointer to the int8 value passed in.
Int8Map converts a string map of int8 values into a string map of int8 pointers.
Int8Slice converts a slice of int8 values into a slice of int8 pointers.
Int8Value returns the value of the int8 pointer passed in or 0 if the pointer is nil.
Int8ValueMap converts a string map of int8 pointers into a string map of int8 values.
Int8ValueSlice converts a slice of int8 pointers into a slice of int8 values.
IntMap converts a string map of int values into a string map of int pointers.
IntSlice converts a slice of int values into a slice of int pointers.
IntValue returns the value of the int pointer passed in or 0 if the pointer is nil.
IntValueMap converts a string map of int pointers into a string map of int values.
IntValueSlice converts a slice of int pointers into a slice of int values.
MillisecondsTimeValue converts an int64 pointer to a time.Time value representing milliseconds sinch Epoch or time.Time{} if the pointer is nil.
SecondsTimeValue converts an int64 pointer to a time.Time value representing seconds since Epoch or time.Time{} if the pointer is nil.
String returns a pointer to the string value passed in.
StringMap converts a string map of string values into a string map of string pointers.
StringSlice converts a slice of string values into a slice of string pointers.
StringValue returns the value of the string pointer passed in or "" if the pointer is nil.
StringValueMap converts a string map of string pointers into a string map of string values.
StringValueSlice converts a slice of string pointers into a slice of string values.
Time returns a pointer to the time.Time value passed in.
TimeMap converts a string map of time.Time values into a string map of time.Time pointers.
TimeSlice converts a slice of time.Time values into a slice of time.Time pointers.
TimeUnixMilli returns a Unix timestamp in milliseconds from "January 1, 1970 UTC".
TimeValue returns the value of the time.Time pointer passed in or time.Time{} if the pointer is nil.
TimeValueMap converts a string map of time.Time pointers into a string.
TimeValueSlice converts a slice of time.Time pointers into a slice of time.Time values.
Uint returns a pointer to the uint value passed in.
Uint16 returns a pointer to the uint16 value passed in.
Uint16Map converts a string map of uint16 values into a string map of uint16 pointers.
Uint16Slice converts a slice of uint16 values into a slice of uint16 pointers.
Uint16Value returns the value of the uint16 pointer passed in or 0 if the pointer is nil.
Uint16ValueMap converts a string map of uint16 pointers into a string map of uint16 values.
Uint16ValueSlice converts a slice of uint16 pointers into a slice of uint16 values.
Uint32 returns a pointer to the uint32 value passed in.
Uint32Map converts a string map of uint32 values into a string map of uint32 pointers.
Uint32Slice converts a slice of uint32 values into a slice of uint32 pointers.
Uint32Value returns the value of the uint32 pointer passed in or 0 if the pointer is nil.
Uint32ValueMap converts a string map of uint32 pointers into a string map of uint32 values.
Uint32ValueSlice converts a slice of uint32 pointers into a slice of uint32 values.
Uint64 returns a pointer to the uint64 value passed in.
Uint64Map converts a string map of uint64 values into a string map of uint64 pointers.
Uint64Slice converts a slice of uint64 values into a slice of uint64 pointers.
Uint64Value returns the value of the uint64 pointer passed in or 0 if the pointer is nil.
Uint64ValueMap converts a string map of uint64 pointers into a string map of uint64 values.
Uint64ValueSlice converts a slice of uint64 pointers into a slice of uint64 values.
Uint8 returns a pointer to the uint8 value passed in.
Uint8Map converts a string map of uint8 values into a string map of uint8 pointers.
Uint8Slice converts a slice of uint8 values into a slice of uint8 pointers.
Uint8Value returns the value of the uint8 pointer passed in or 0 if the pointer is nil.
Uint8ValueMap converts a string map of uint8 pointers into a string map of uint8 values.
Uint8ValueSlice converts a slice of uint8 pointers into a slice of uint8 values.
UintMap converts a string map of uint values uinto a string map of uint pointers.
UintSlice converts a slice of uint values uinto a slice of uint pointers.
UintValue returns the value of the uint pointer passed in or 0 if the pointer is nil.
UintValueMap converts a string map of uint pointers uinto a string map of uint values.
UintValueSlice converts a slice of uint pointers uinto a slice of uint values.
# Constants
Delimiter const value.
Delimiter const value.
Delimiter const value.
Delimiter const value.
Delimiter const value.
Delimiter const value.
Delimiter const value.
Delimiter const value.
Delimiter const value.
Operation const value.
Operation const value.
Operation const value.
Operation const value.
Operation const value.
Operation const value.