Skip to content
This repository was archived by the owner on May 14, 2022. It is now read-only.

Commit 17f061b

Browse files
committed
feat: install packages logic
1 parent 2ce2299 commit 17f061b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

packages.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
package pluginlib
22

3+
type PackageVendor string
4+
5+
var PackageVendorApt PackageVendor = "apt"
6+
var PackageVendorApk PackageVendor = "apk"
7+
38
type Package struct {
4-
ApkPackage string
9+
Name string
10+
Vendor PackageVendor
511
}
612

713
func InstallPackage(packages []Package) {

0 commit comments

Comments
 (0)