✏ update signatures

This commit is contained in:
Fenny
2020-11-05 09:47:33 +01:00
parent f7e5345bc3
commit fdf31cf4c0
8 changed files with 45 additions and 1 deletions

View File

@@ -62,7 +62,7 @@ func New(config ...Config) *Storage {
func (s *Storage) Get(key string) ([]byte, error) {
item, err := s.db.Get(key)
if err == mc.ErrCacheMiss {
return nil, nil
return nil, ErrNotExist
} else if err != nil {
return nil, err
}