Implement uninstall

Also add RemovePackage in database implementation (boltdb is not tested yet)

Add test case for uninstall
This commit is contained in:
Ettore Di Giacinto
2019-11-24 00:16:12 +01:00
parent 0d7b2cf448
commit a8b350fd8e
6 changed files with 97 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ import (
type Installer interface {
Install([]pkg.Package, *System) error
Uninstall([]pkg.Package, *System) error
Uninstall(pkg.Package, *System) error
Repositories([]Repository)
}