I saw there are Once and Times method, which looks like check if requests exceed limit. But there won't be any error if requests no reach to that count.
Using gomock as example, it checks and reports an error if found missing calls.
I just wonder is there equivalent mechanism ? Or is it a intentional choice to don't support ?
btw, I'm using v1.3.1
I saw there are
OnceandTimesmethod, which looks like check if requests exceed limit. But there won't be any error if requests no reach to that count.Using
gomockas example, it checks and reports an error if found missing calls.I just wonder is there equivalent mechanism ? Or is it a intentional choice to don't support ?
btw, I'm using v1.3.1