Sfoglia il codice sorgente

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 anni fa
parent
commit
3f3c811e08
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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