agiledragon / gomonkey

gomonkey is a library to make monkey patching in unit tests easy
MIT License
1.92k stars 178 forks source link

funcToMethod does not support variadic functions #136

Closed chaoswan closed 11 months ago

chaoswan commented 11 months ago

Variable parameter function, when the variable length parameter is not passed, it will panic unsupported type.