Versions in this module Expand all Collapse all v0 v0.1.5 Oct 27, 2021 v0.1.4 Oct 27, 2021 Changes in this version + var ErrDifferentType = errors.New("inputs are of different type") + var ErrDoubleHook = errors.New("double hook") + var ErrHookNotFound = errors.New("hook not found") + var ErrInputType = errors.New("inputs are not func type") + var ErrRelativeAddr = errors.New("relative address in instruction") + type Enabler interface + Enable func() + type Hook interface + Disable func() Enabler + Origin func() interface{} + Restore func() error + func Apply(from, to interface{}) (Hook, error) + func HookByMethod(instance interface{}, method string, to interface{}) (Hook, error)