Skip to content

Commit 0bb5c19

Browse files
committed
add redis as cache
1 parent bf86694 commit 0bb5c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cache/redis.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func (r *redisCache) setWithExpiry(key string, value V, expiry time.Duration) {
4646
}
4747
}
4848

49-
// get
49+
// get ...
5050
func (r *redisCache) get(key string) V {
5151
ctx, cancel := context.WithTimeout(context.Background(), 50*time.Millisecond)
5252
defer cancel()

0 commit comments

Comments
 (0)