mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-12 11:38:11 -07:00
store: normalized config
This commit is contained in:
@@ -16,7 +16,7 @@ func init() {
|
||||
|
||||
type stringStoreDriver struct{}
|
||||
|
||||
func (d *stringStoreDriver) New(cfg *store.Config) (store.StringStore, error) {
|
||||
func (d *stringStoreDriver) New(_ *store.DriverConfig) (store.StringStore, error) {
|
||||
return &stringStore{
|
||||
strings: make(map[string]struct{}),
|
||||
}, nil
|
||||
|
||||
Reference in New Issue
Block a user