refactor: rename ga package to sdk

This commit is contained in:
debugtalk
2022-03-25 15:57:25 +08:00
parent 3eab7d470f
commit ceb290dd49
9 changed files with 26 additions and 24 deletions

View File

@@ -12,7 +12,7 @@ import (
"github.com/httprunner/funplugin/shared"
"github.com/httprunner/httprunner/hrp"
"github.com/httprunner/httprunner/hrp/internal/builtin"
"github.com/httprunner/httprunner/hrp/internal/ga"
"github.com/httprunner/httprunner/hrp/internal/sdk"
)
type PluginType string
@@ -25,7 +25,7 @@ const (
func CreateScaffold(projectName string, pluginType PluginType) error {
// report event
ga.SendEvent(ga.EventTracking{
sdk.SendEvent(sdk.EventTracking{
Category: "Scaffold",
Action: "hrp startproject",
})