()
| 88 | } |
| 89 | |
| 90 | func (s *memIter) Value() string { |
| 91 | if s.v != nil { |
| 92 | return *s.v |
| 93 | } |
| 94 | str := string(s.ValueBytes()) |
| 95 | s.v = &str |
| 96 | return str |
| 97 | } |
| 98 | |
| 99 | func (mk *memKeys) Get(key string) (string, error) { |
| 100 | mk.mu.Lock() |
nothing calls this directly
no test coverage detected