소스 검색

Update code comment

Matt Bolt 4 년 전
부모
커밋
7a23f81c5a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pkg/util/cache/cachegroup.go

+ 1 - 1
pkg/util/cache/cachegroup.go

@@ -27,7 +27,7 @@ type CacheGroup[T comparable] struct {
 	max              int
 }
 
-// NewCacheGroup[T] creates a new cache group instance the max number of keys to cache at any given time.
+// NewCacheGroup[T] creates a new cache group instance given the max number of keys to cache. 
 // If a new cache entry is added that exceeds the maximum, the oldest entry is evicted.
 func NewCacheGroup[T comparable](max int) *CacheGroup[T] {
 	return &CacheGroup[T]{