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

Commit db43165

Browse files
committed
chore: method stubs
1 parent 17f061b commit db43165

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ type Package struct {
1010
Vendor PackageVendor
1111
}
1212

13-
func InstallPackage(packages []Package) {
13+
func InstallPackage(packages []Package) error {
1414
// mock function
1515
// behaviour is implemented in StackHead main repository
16+
return nil
1617
}

stackhead.go

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

3-
func StackHeadExecute(command string, args interface{}) {
3+
func StackHeadExecute(command string) error {
44
// mock function
55
// behaviour is implemented in StackHead main repository
6+
return nil
67
}

0 commit comments

Comments
 (0)