🎭 stay backwards compatible

This commit is contained in:
Fenny
2020-11-18 09:00:59 +01:00
parent ddef41c2ee
commit fd56bd28da
9 changed files with 9 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ type Storage struct {
// ErrNotFound means that a get call did not find the requested key.
var ErrNotFound = errors.New("key not found")
var ErrKeyNotExist = ErrNotFound
// New creates a new storage
func New(config Config) *Storage {