patch fun after how get origin fun
Open
question
- Dominant language
- Go
- Stars
- 257
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
not use UnPatch
``` go
package main
import (
"fmt"
sm "github.com/cch123/supermonkey"
"time"
)
//go:noinline
func Now() time.Time {
return time.Time{}
}
func main() {
sm.Patch(time.Now, Now)
fmt.Println(time.Now())
// how call origin Now fun
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.