Browse Source

fix: fix comment typo (#2220)

Use an instead of 'a' if the following word starts with a vowel sound, e.g. 'an in-memory cache'.
safeoy 2 years ago
parent
commit
3f3c811e08
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/collection/cache.go

+ 1 - 1
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