From 3f3c811e08af4a117ec41dfd209077fd7f675484 Mon Sep 17 00:00:00 2001 From: safeoy Date: Wed, 3 Aug 2022 23:57:49 +0800 Subject: [PATCH] fix: fix comment typo (#2220) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use an instead of 'a' if the following word starts with a vowel sound, e.g. 'an in-memory cache'.  --- core/collection/cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/collection/cache.go b/core/collection/cache.go index 35411055..7d3263a0 100644 --- a/core/collection/cache.go +++ b/core/collection/cache.go @@ -26,7 +26,7 @@ type ( // CacheOption defines the method to customize a Cache. CacheOption func(cache *Cache) - // A Cache object is a in-memory cache. + // A Cache object is an in-memory cache. Cache struct { name string lock sync.Mutex