package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Apr 15, 2020
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
IsCleanup checks that typ have cleanup signature.
IsError checks that typ have error signature.
func IsFunc(value interface{}) bool
IsFunc check that value have function type.
func IsPtr(value interface{}) bool
IsPtr checks that value is pointer.
CallResult is a helper struct for reflect.Call.
Cleanup returns cleanup function.
Error returns error if it exists.
Result returns first result type.
Func is a function description.
func InspectFunc(fn interface{}) (Func, bool)
InspectFunc inspects function.
Interface is a interface description.
InspectInterfacePtr inspects interface pointer.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.