We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d9f8808 + 5fe99ab commit b779edbCopy full SHA for b779edb
cache.go
@@ -42,7 +42,7 @@ func New(config *Configuration) *Cache {
42
buckets: make([]*bucket, config.buckets),
43
control: make(chan interface{}),
44
}
45
- for i := 0; i < int(config.buckets); i++ {
+ for i := 0; i < config.buckets; i++ {
46
c.buckets[i] = &bucket{
47
lookup: make(map[string]*Item),
48
0 commit comments