memos/store/cache.go
2023-08-04 21:55:07 +08:00

10 lines
141 B
Go

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