fix spelling (#551)

This commit is contained in:
anqiansong
2021-03-08 18:23:12 +08:00
committed by GitHub
parent 7ad86a52f3
commit 60c7edf8f8
13 changed files with 27 additions and 27 deletions

View File

@@ -11,15 +11,15 @@ import (
// Key describes cache key
type Key struct {
// VarLeft describes the varible of cache key expression which likes cacheUserIdPrefix
// VarLeft describes the variable of cache key expression which likes cacheUserIdPrefix
VarLeft string
// VarRight describes the value of cache key expression which likes "cache#user#id#"
VarRight string
// VarExpression describes the cache key expression which likes cacheUserIdPrefix = "cache#user#id#"
VarExpression string
// KeyLeft describes the varible of key definiation expression which likes userKey
// KeyLeft describes the variable of key definition expression which likes userKey
KeyLeft string
// KeyRight describes the value of key definiation expression which likes fmt.Sprintf("%s%v", cacheUserPrefix, user)
// KeyRight describes the value of key definition expression which likes fmt.Sprintf("%s%v", cacheUserPrefix, user)
KeyRight string
// DataKeyRight describes data key likes fmt.Sprintf("%s%v", cacheUserPrefix, data.User)
DataKeyRight string