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

Commit 1286702

Browse files
committed
feat: add stubs
1 parent 67661fd commit 1286702

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

project.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package pluginlib
2+
3+
type Project struct {
4+
Name string
5+
}
6+
7+
func GetProject() Project {
8+
// mock function
9+
// behaviour is implemented in StackHead main repository
10+
return Project{}
11+
}

stackhead.go

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

3-
func StackHeadExecute(command string) {
3+
func StackHeadExecute(command string, args interface{}) {
4+
// mock function
5+
// behaviour is implemented in StackHead main repository
6+
}
7+
8+
func InstallPackage(packages interface{}) {
49
// mock function
510
// behaviour is implemented in StackHead main repository
611
}

0 commit comments

Comments
 (0)