change: update func plugin

This commit is contained in:
debugtalk
2022-03-15 23:40:53 +08:00
parent 2585670030
commit 0582269a8e
9 changed files with 21 additions and 28 deletions

View File

@@ -72,7 +72,7 @@ var demoPlugin = `package main
import (
"fmt"
"github.com/httprunner/plugin"
plugin "github.com/httprunner/func-plugin/go"
)
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/plugin"), pluginDir); err != nil {
if err := builtin.ExecCommand(exec.Command("go", "get", "github.com/httprunner/func-plugin"), pluginDir); err != nil {
return err
}