cache.go 141 B

123456789
  1. package store
  2. import (
  3. "fmt"
  4. )
  5. func getUserSettingCacheKey(userID int32, key string) string {
  6. return fmt.Sprintf("%d-%s", userID, key)
  7. }