Documentation
¶
Index ¶
- func FormatDuration(d time.Duration) string
- func FormatMemory(memBytes int) string
- func FormatTime(t time.Time) string
- func NullIntString(ni null.Int, defValue ...string) string
- func ParseDuration(s string) (time.Duration, error)
- func ParseHoursMinutes(s string) (time.Duration, error)
- func ParseMemory(s string) (int, error)
- func ToMap[K comparable, V any](s []V, keyF func(V) K) map[K]V
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDuration ¶
func FormatMemory ¶
func FormatTime ¶
func NullIntString ¶
func ParseMemory ¶
func ToMap ¶
func ToMap[K comparable, V any](s []V, keyF func(V) K) map[K]V
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.