package
1.4.1
Repository: https://github.com/pesos/grofer.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Assert fails the test if the condition is false.
Equals fails the test if exp is not equal to act.
ErrorMsg displays cute error ASCI Art for PID Errors.
GetDateFromUnix gets a date and time in RFC822 format from a unix epoch in millisecond.
GetInMB converts bytes to MB.
Raises fails the test if an err is not nil.
RoundFloat rounds off a float to a given base and precision.
RoundUint rounds a float by making use of RoundFloat.
RoundValues rounds off values to nearest K, G, M, etc.
SecondsToHuman converts a given UNIX epoch in seconds to human readble format.
SortData helps sort table rows.
TickUntilDone runs a given action at a tick rate specified by refreshRate, it returns if the context is cancelled.
Trim trims a float to the specified number of precision decimal digits.