change: move plugin to independent repo

This commit is contained in:
debugtalk
2022-03-10 18:38:41 +08:00
parent a996199122
commit 8d88dc91b4
30 changed files with 31 additions and 2269 deletions

View File

@@ -72,7 +72,7 @@ var demoPlugin = `package main
import (
"fmt"
"github.com/httprunner/hrp/plugin"
"github.com/httprunner/plugin"
)
func SumTwoInt(a, b int) int {

View File

@@ -70,7 +70,7 @@ func CreateScaffold(projectName string) error {
}
// download plugin dependency
if err := builtin.ExecCommand(exec.Command("go", "get", "github.com/httprunner/hrp/plugin"), pluginDir); err != nil {
if err := builtin.ExecCommand(exec.Command("go", "get", "github.com/httprunner/plugin"), pluginDir); err != nil {
return err
}