memos/store/cache.go
boojack b44f2b5ffb
chore: migrate user setting to api v1 package (#1855)
* chore: migrate to api v1 package

* chore: update
2023-06-26 23:06:53 +08:00

10 lines
141 B
Go

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