| 23 | ) |
| 24 | |
| 25 | type Shard[K comparable, V any] struct { |
| 26 | sync.RWMutex // Compose from sync.RWMutex |
| 27 | items map[K]V // m contains the shard's data |
| 28 | } |
| 29 | |
| 30 | type ShardedMap[K comparable, V any] []*Shard[K, V] |
| 31 |
nothing calls this directly
no outgoing calls
no test coverage detected