mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
Export Package map
This commit is contained in:
parent
2524f7b5a0
commit
fc593d90cf
1 changed files with 2 additions and 2 deletions
|
|
@ -12,12 +12,12 @@ type Package struct {
|
|||
Optional bool
|
||||
}
|
||||
|
||||
type packagemap = map[string][]*Package
|
||||
type Packagemap = map[string][]*Package
|
||||
|
||||
// PackageManager is a common interface across all package managers
|
||||
type PackageManager interface {
|
||||
Name() string
|
||||
Packages() packagemap
|
||||
Packages() Packagemap
|
||||
PackageInstalled(*Package) (bool, error)
|
||||
PackageAvailable(*Package) (bool, error)
|
||||
InstallCommand(*Package) string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue