Documentation ¶
Index ¶
- func AssumeInt(i interface{}) int
- func Coalesce[T any](v *T, def T) T
- func CoalesceZero[T any](v *T) T
- func M(marshaller func(any) ([]byte, error), v any) ([]byte, error)
- func Ptr[T any](v T) *T
- func UM[T any](unmarshaler func([]byte, any) error, data []byte) (v T, err error)
- func ZeroOf[T any]() (_ T)
- type Waiter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CoalesceZero ¶
func CoalesceZero[T any](v *T) T
Types ¶
Click to show internal directories.
Click to hide internal directories.