Adjust field alignment.

This commit is contained in:
2024-06-12 12:07:22 +01:00
parent a23f9de262
commit e5b3eff1cd
2 changed files with 17 additions and 17 deletions
+3 -3
View File
@@ -14,11 +14,11 @@ type CacheEntry struct {
}
type Cache struct {
entries sync.Map
globalTTL time.Duration
compressPool sync.Pool
decompressPool sync.Pool
sync.RWMutex // Reintroduced to provide lock methods
entries sync.Map
globalTTL time.Duration
sync.RWMutex
}
func New(globalTTL time.Duration) *Cache {