fix(test, travis): fix build and test error

This commit is contained in:
hexxa 2020-12-06 19:53:08 +08:00
parent d726ac5aa4
commit 472fe8dadb
6 changed files with 16 additions and 300 deletions

View file

@ -1,6 +1,7 @@
package memstore
import (
"errors"
"sync"
"github.com/ihexxa/quickshare/src/kvstore"
@ -164,3 +165,16 @@ func (st *MemStore) Unlock(key string) error {
delete(st.locks, key)
return nil
}
func (st *MemStore) AddNamespace(nsName string) error {
return errors.New("not implemented")
}
func (st *MemStore) GetStringIn(namespace, key string) (string, bool) {
panic("not implemented")
return "", false
}
func (st *MemStore) SetStringIn(namespace, key, val string) error {
return errors.New("not implemented")
}