Versions in this module Expand all Collapse all v1 v1.0.1000 Aug 14, 2023 Changes in this version + func ByteCountSI(b int64) string + func ParseValidatorError(err error) (res error) + func RemoveNulls(m map[string]interface{}) map[string]interface + func RoundFloatPrecisionUp(val float64, precision uint) float64 + func ToFixed(num float64, precision int) float64 + func ToSnakeCase(str string) string + type DurationUnit struct + Day int + Hour int + Minute int + Second int + type ErrorValidation struct + Field string + Tag string + Type string + type Stacks struct + File string + Func string + Line int + Package string + func ParseStack(stack []byte) (res []Stacks) + type Time struct + func NewTime() *Time + func (c *Time) Duration(dur time.Duration) (format string) + func (c *Time) DurationToUnit(dur time.Duration) (format DurationUnit) + func (c *Time) TimeStringDateOnly(dur time.Time) (format string) + func (c *Time) TimeStringTimeOnly(dur time.Time) (format string) + func (c *Time) TimeStringTimeOnlyWithMilliSecond(s time.Time) (ts string) + func (c *Time) TimeStringWitLongDate(dur time.Time) (format string) + func (c *Time) TimeStringWithDate(dur time.Time) (format string) + func (c *Time) UnixTime(t int64) (ts time.Time) + func (c *Time) UnixTimeNano(t int64) (ts time.Time)