Documentation ¶
Index ¶
- func DerefAny(v any) any
- func Filter[T any](ss []T, test func(T) bool) (ret []T)
- func IsRawMessageApiResp(resp []byte) bool
- func MustAtob(s string) bool
- func MustAtof(s string) float64
- func MustAtoi(s string) int64
- func MustAtoui(s string) uint64
- func TimedAction(f func(), onEnd func(t time.Duration))
- func TimedFunc[T any](f func() T, onEnd func(t time.Duration)) T
- func WalkStructLeafWithTag(v any, f func(value reflect.Value, tagPath []reflect.StructTag) error) error
- type Set
- type Void
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRawMessageApiResp ¶
func TimedAction ¶
Types ¶
type Set ¶
type Set[T comparable] map[T]Void
func NewSet ¶
func NewSet[T comparable]() Set[T]
func NewSetFrom ¶
func NewSetFrom[T comparable](items ...T) Set[T]
Click to show internal directories.
Click to hide internal directories.