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

Can I ask you some questions ? #25

Open
semieye opened this issue Mar 24, 2018 · 0 comments
Open

Can I ask you some questions ? #25

semieye opened this issue Mar 24, 2018 · 0 comments

Comments

@semieye
Copy link

semieye commented Mar 24, 2018

cache/cache.go

Line 113 in a8e2fb1

func Cache(store *persistence.CacheStore) gin.HandlerFunc {

Hi, I'm learning this project's code, I wanna ask you two questions:

  1. Why the Cache function use a interface pointer parameter? How can I use this function?
  2. Why the SiteCache function defined a unused parameter: expire ? What place should I use this function?

Can you give me a answer if you have time?Look forward to your reply,Thank you!

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

1 participant