support ability to set store, address and namespace via flags and env vars (#1092)

This commit is contained in:
Asim Aslam
2020-01-08 12:11:31 +00:00
committed by GitHub
parent 0b8ff3a8bb
commit 048065fe96
9 changed files with 143 additions and 50 deletions

View File

@@ -10,6 +10,10 @@ type Store struct {
mock.Mock
}
func (_m *Store) Init(...store.Option) error {
return nil
}
// Delete provides a mock function with given fields: key
func (_m *Store) Delete(key ...string) error {
_va := make([]interface{}, len(key))