Documentation
¶
Index ¶
- type Patch
- func PatchInstanceMethodByName(target reflect.Type, methodName string, redirection interface{}) (*Patch, error)
- func PatchMethod(target, redirection interface{}) (*Patch, error)
- func PatchMethodByReflect(target reflect.Value, redirection interface{}) (*Patch, error)
- func PatchMethodWithMakeFunc(target reflect.Value, fn func(args []reflect.Value) (results []reflect.Value)) (*Patch, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Patch ¶
type Patch struct {
// contains filtered or unexported fields
}
func PatchMethod ¶
func PatchMethodByReflect ¶
func PatchMethodWithMakeFunc ¶
Click to show internal directories.
Click to hide internal directories.