mirror of
https://github.com/gofiber/storage.git
synced 2025-10-05 08:37:10 +08:00
✏ update signatures
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user