go-redis / cache

Cache library with Redis backend for Golang
https://redis.uptrace.dev/guide/go-redis-cache.html
BSD 2-Clause "Simplified" License
757 stars 95 forks source link

How to save the array #77

Open HalcyonDaysssss opened 2 years ago

HalcyonDaysssss commented 2 years ago

I get a var data []struct from the database, how to “set” the array into it.

Akaame commented 2 years ago

Please provide a minimal example of what you are trying to do while creating issues/asking questions.