package
0.0.0-20241005173814-114fa825bbdc
Repository: https://github.com/mandelsoft/goutils.git
Documentation: pkg.go.dev
# Functions
Cast asserts a type given by a type parameter for a value This is not directly suppoerted by Go.
CastPointer maps a pointer P to an interface type I avoiding typed nil pointers.
CastPointerR maps a pointer P to an interface type I for a factory function with an additional error result avoiding typed nil pointers.
CastR cast a result type to a dedicated Type T for a factory function with an additional error result Nil will be mapped to the initial value of the target type.
No description provided by the author
TryCast is like Cast, but reports whether the assertion is possible or not.
TryCastE casts one type parameter to another type parameter, which have a subtype relation.
No description provided by the author
# Interfaces
No description provided by the author