package
0.0.0-20241103045635-b957f8406a89
Repository: https://github.com/telkomdev/tob.git
Documentation: pkg.go.dev

# Functions

InterfaceToFloat64 will convert any interface value to float64.
IsNilish function is a function to check for nullability on the interface.
Retry is a wrapper function that is used to try to call external resources that have the potential to fail.
TimeDifference calculates the difference in minutes between two timestamps timeFrom and timeNow, passed as strings in the format defined in YYMMDD The function returns a string with the difference in minutes.

# Constants

Define constant YYMMDD as the date format used in the function.

# Type aliases

RetryCallbackFunc is a function type for callback.
RetryFunc is a function type that will try to be called again if it doesn't work.