feat: implement user setting store

This commit is contained in:
Steven
2023-06-21 08:51:15 +08:00
parent 0ca88fac00
commit bd627fb250
3 changed files with 141 additions and 0 deletions

View File

@ -1 +1,7 @@
package store
import "fmt"
func getUserSettingCacheKey(userID int, key string) string {
return fmt.Sprintf("%d-%s", userID, key)
}