From 875538d4904e33c11ff2dad0428ce16595f2d9f9 Mon Sep 17 00:00:00 2001 From: chenyahui Date: Sun, 19 Nov 2023 22:07:45 +0800 Subject: [PATCH 1/2] fix typo --- bigcache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigcache.go b/bigcache.go index 5620c0ef..55d2c3ee 100644 --- a/bigcache.go +++ b/bigcache.go @@ -155,7 +155,7 @@ func (c *BigCache) Set(key string, entry []byte) error { // Append appends entry under the key if key exists, otherwise // it will set the key (same behaviour as Set()). With Append() you can -// concatenate multiple entries under the same key in an lock optimized way. +// concatenate multiple entries under the same key in a lock optimized way. func (c *BigCache) Append(key string, entry []byte) error { hashedKey := c.hash.Sum64(key) shard := c.getShard(hashedKey) From f51874f164982f4d36a20329d8da2c5b80f8fddf Mon Sep 17 00:00:00 2001 From: Tomasz Janiszewski Date: Mon, 20 Nov 2023 15:45:45 +0100 Subject: [PATCH 2/2] Update bigcache.go --- bigcache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigcache.go b/bigcache.go index 55d2c3ee..9ef1a1fc 100644 --- a/bigcache.go +++ b/bigcache.go @@ -155,7 +155,7 @@ func (c *BigCache) Set(key string, entry []byte) error { // Append appends entry under the key if key exists, otherwise // it will set the key (same behaviour as Set()). With Append() you can -// concatenate multiple entries under the same key in a lock optimized way. +// concatenate multiple entries under the same key in a lock-optimized way. func (c *BigCache) Append(key string, entry []byte) error { hashedKey := c.hash.Sum64(key) shard := c.getShard(hashedKey)