remove close method

This commit is contained in:
Fenny
2020-11-05 06:08:05 +01:00
parent 5571999805
commit 86b9cfe4c1
7 changed files with 3 additions and 37 deletions

View File

@@ -75,8 +75,3 @@ func (s *Storage) Delete(key string) error {
func (s *Storage) Clear() error {
return s.db.FlushDB(context.Background()).Err()
}
// Close the storage
func (s *Storage) Close() error {
return s.db.Close()
}