gin-contrib / cache

Gin middleware/handler to enable Cache
https://gin-gonic.github.io/gin
MIT License
378 stars 96 forks source link

how do we set the database to use??? #105

Open encryptblockr opened 5 months ago

encryptblockr commented 5 months ago

https://github.com/gin-contrib/cache/blob/master/persistence/redis.go#L18

where is option to use the database when we do not want to use default database 0???

please tell me there is a way to set this or this will be yet another annoying package that did not anticipate that people will not always use default database