UpdateStorage just update storage in database
(storage *model.Storage)
| 19 | |
| 20 | // UpdateStorage just update storage in database |
| 21 | func UpdateStorage(storage *model.Storage) error { |
| 22 | return errors.WithStack(db.Save(storage).Error) |
| 23 | } |
| 24 | |
| 25 | // DeleteStorageById just delete storage from database by id |
| 26 | func DeleteStorageById(id uint) error { |
no outgoing calls
no test coverage detected