package
1.0.4
Repository: https://github.com/hokamsingh/lessgo.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
ConvertToBytes converts a size given in the specified unit to bytes.
No description provided by the author
GenerateRandomToken creates a random token of the specified length.
GenerateRange creates a range of numbers from start to end.
GenerateSalt creates a random salt of the given length.
No description provided by the author
GetRandomIndex generates a random index between min and max.
HashPassword generates a hash for the given data using the provided salt.
No description provided by the author
MsToDay converts milliseconds to days.
MsToHr converts milliseconds to hours.
MsToHuman converts milliseconds to a human-readable string.
MsToMin converts milliseconds to minutes.
MsToSec converts milliseconds to seconds.
No description provided by the author
Retryable retries the provided function on failure with backoff.
ShuffleNumbers randomly shuffles a slice of numbers.
Sleep pauses the execution for the given number of milliseconds.

# Constants

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
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

# Type aliases

No description provided by the author