Date: 2024-11-22 13:46:47
Score: 3
Natty:
by using locks
type Storage struct {
mu sync.RWMutex
}
eg. how discache doing that https://github.com/dhyanio/discache/blob/main/cache/cache.go
Reasons:
- Probably link only (1):
- Contains signature (1):
- Low length (1):
- Has code block (-0.5):
- Low reputation (0.5):
Posted by: dhyanio