Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create[T any]() T
Create returns a new value of type T, where T is any regular value or reference type. Panics when T is a multi-pointer (e.g. **string) or interface type.
func IsInterface ¶
IsInterface returns true if the generic type is an interface and not a concrete type
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.