replace-function
The replace-function
advice replaces the callee of a Call
node (typically matched by function-call
) with the designated function. The current & replacement functions must have compatible signatures.
Examples
replace-function: gopkg.in/DataDog/dd-trace-go.v1/contrib/gorm.io/gorm.v1.Open