agiledragon / agiledragon/gomonkey
Quesion of calling original function
Aperta
- Lingua principale
- Go
- Stelle
- 2.3k
- Fork
- 192
- Merge medio
- 1g 6h
- PR unite (30g)
- 1
Descrizione
After I have mocked a function A by function B, is there any way to call original A function inside B?
Which might be helpful for user to check or log arguments and return values.
Thanks!
如果我用B函数替换了对A函数的调用,那么有没有办法在B函数体内部,完成正常的A函数调用流程,这样会对函数参数以及返回值的检查或者统计会有很大帮助。
非常感谢!
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.