Pardon me if there is a way to do this but I was wondering if it would be possible to support a formal interface for go-cache? For things like counterfeiter, it would be useful to have it so that it can crawl through and mock/stub all the methods in go-cache to create test doubles.
Right now this isn't possible though because no interface is available.
Pardon me if there is a way to do this but I was wondering if it would be possible to support a formal interface for go-cache? For things like
counterfeiter
, it would be useful to have it so that it can crawl through and mock/stub all the methods in go-cache to create test doubles.Right now this isn't possible though because no interface is available.