Documentation
¶
Index ¶
- func AbsoluteNum[T numeric](value T) T
- func EnsureTime(value *time.Time, duration time.Duration) time.Time
- func Hash[T any](object T) (string, error)
- func MaxSize(toCut string, maxSize int) string
- func ParseTimestamp(timestamp string) (t time.Time, err error)
- func ShuffleString[T ~string](to T) T
- type KeyValueEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbsoluteNum ¶
func AbsoluteNum[T numeric](value T) T
func ShuffleString ¶
func ShuffleString[T ~string](to T) T
Types ¶
type KeyValueEntry ¶
func (KeyValueEntry[T]) Compare ¶
func (a KeyValueEntry[T]) Compare(b KeyValueEntry[T]) int
Click to show internal directories.
Click to hide internal directories.