| 13 | var ErrKeyNotFound = errors.New("not found") |
| 14 | |
| 15 | type MemDatabase struct { |
| 16 | db map[string][]byte |
| 17 | rw sync.RWMutex |
| 18 | } |
| 19 | |
| 20 | func NewMemDatabase() *MemDatabase { |
| 21 | return &MemDatabase{ |
nothing calls this directly
no outgoing calls
no test coverage detected