mirror of
https://github.com/usememos/memos.git
synced 2024-11-17 04:07:30 +08:00
66e65e4dc1
* refactor: user api v1 * refactor: system setting to apiv1 * chore: remove unused definition * chore: update * chore: refactor: system setting * chore: update * refactor: migrate tag * feat: migrate activity store * refactor: migrate shortcut apiv1 * chore: update
9 lines
139 B
Go
9 lines
139 B
Go
package store
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
func getUserSettingCacheKey(userID int, key string) string {
|
|
return fmt.Sprintf("%d-%s", userID, key)
|
|
}
|