gin-contrib / gin-contrib/cache
Can I ask you some questions ?
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 456
- Forks
- 100
- Avg merge
- 2h 16m
- Merged PRs (30d)
- 2
Description
https://github.com/gin-contrib/cache/blob/a8e2fb11ffd40f9a4bbb2606db19a4500949227f/cache.go#L113
Hi, I'm learning this project's code, I wanna ask you two questions:
- Why the Cache function use a interface pointer parameter? How can I use this function?
- 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!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with cache.go around line 113, then inspect the definitions and call sites for Cache and SiteCache. Document what the interface pointer parameter is for, how Cache is used, why SiteCache accepts expire, and provide a clear usage example if the repository supports one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100