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

Has mistake in readme of cache #89

Open
zhangxichun opened this issue Aug 9, 2019 · 1 comment
Open

Has mistake in readme of cache #89

zhangxichun opened this issue Aug 9, 2019 · 1 comment
Assignees

Comments

@zhangxichun
Copy link
Collaborator

zhangxichun commented Aug 9, 2019

@jaehue
In readme of cache
mycache = cache.Local{ExpireTime: time.Hour * 24}
need using pointer type:
mycache = &cache.Local{ExpireTime: time.Hour * 24}
is it right ?

@jaehue
Copy link
Contributor

jaehue commented Jan 10, 2020

@zhangxichun Yes. It's right. Please try it yourself. 😄

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