MemStore is an in-memory implementation of Store used by tests across packages. It is intentionally exported (not _test.go-only) so that downstream packages can compose it without copying the same 20 lines.
| 107 | // packages. It is intentionally exported (not _test.go-only) so that |
| 108 | // downstream packages can compose it without copying the same 20 lines. |
| 109 | type MemStore struct{ m map[string]string } |
| 110 | |
| 111 | // NewMemStore returns an empty in-memory secrets store. |
| 112 | func NewMemStore() *MemStore { return &MemStore{m: map[string]string{}} } |
nothing calls this directly
no outgoing calls
no test coverage detected