소스 검색

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 년 전
부모
커밋
3f3c811e08
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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