How to check how many times a function has been called in a Golang test?

后端 未结 0 1453
失恋的感觉
失恋的感觉 2020-12-25 10:40

I\'m working on a web server with an API which calls a function. This function does a heavy job and caches the result. I\'ve designed it in a way that if there is no cache a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题