memos/store/cache.go
2024-05-12 13:19:31 +08:00

9 lines
141 B
Go

package store
import (
"fmt"
)
func getUserSettingCacheKey(userID int32, key string) string {
return fmt.Sprintf("%d-%s", userID, key)
}