Documentation ¶
Index ¶
- func Guid() string
- func Hash(id string) uint32
- func HashString(id string) string
- func HashStringLen(id string, maxLen int) string
- func InDevMode(pkg string) bool
- func Max[T Ordered](a, b T) T
- func Md5(data []byte) string
- func Min[T Ordered](a, b T) T
- func Pick[T comparable](args ...T) T
- func ShortID() string
- type CorruptInputError
- type Float
- type Integer
- type Ordered
- type Signed
- type Unsigned
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashString ¶
func HashStringLen ¶
Types ¶
type CorruptInputError ¶
type CorruptInputError int64
func (CorruptInputError) Error ¶
func (e CorruptInputError) Error() string
Click to show internal directories.
Click to hide internal directories.