Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Add formal interface for go-cache #116

Open
augbog opened this issue Jan 28, 2020 · 1 comment
Open

Request: Add formal interface for go-cache #116

augbog opened this issue Jan 28, 2020 · 1 comment

Comments

@augbog
Copy link

augbog commented Jan 28, 2020

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.

@sylr
Copy link

sylr commented Jul 13, 2020

See #92

FYI I merged it into github.com/sylr/go-cache/v2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants