muesli / cache2go

Concurrency-safe Go caching library with expiration capabilities and access counters
Other
2.11k stars 518 forks source link

no need use if condition before range #58

Open aktalk opened 2 years ago

aktalk commented 2 years ago

to use " if addedItem != nil ” before range is unnecessary