Documentation
¶
Index ¶
- func Implements[T any, I any]() bool
- func IsChannelClosed[T any](ch <-chan T) bool
- func IsNil[T any](v T) bool
- func IsZero[T comparable](v T) bool
- func NormalizeSKI(ski string) string
- func Ptr[T any](v T) *T
- func ReceiveWithTimeout[T any](c chan T, maxDelay time.Duration) T
- func Type[T any]() reflect.Type
- func Zero[T any]() (ret T)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsChannelClosed ¶
check if a provided channel is closed
func IsZero ¶
func IsZero[T comparable](v T) bool
func ReceiveWithTimeout ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.