diff --git a/docs/docs.go b/docs/docs.go index c142ade..7f0daa5 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -9,7 +9,7 @@ import ( "sort" "strings" - wp_template "github.com/thegeeklab/wp-plugin-go/v2/template" + plugin_template "github.com/thegeeklab/wp-plugin-go/v3/template" "github.com/urfave/cli/v2" ) @@ -40,7 +40,7 @@ var templateFs embed.FS func ToMarkdown(app *cli.App) (string, error) { var w bytes.Buffer - tpls, err := template.New("cli").Funcs(wp_template.LoadFuncMap()).ParseFS(templateFs, "**/*.tmpl") + tpls, err := template.New("cli").Funcs(plugin_template.LoadFuncMap()).ParseFS(templateFs, "**/*.tmpl") if err != nil { return "", err } diff --git a/go.mod b/go.mod index a1ab9c3..1df2d64 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/thegeeklab/wp-plugin-go/v2 +module github.com/thegeeklab/wp-plugin-go/v3 go 1.22 diff --git a/plugin/network.go b/plugin/network.go index b728bbb..35c4cdb 100644 --- a/plugin/network.go +++ b/plugin/network.go @@ -24,7 +24,7 @@ import ( "github.com/rs/zerolog" "github.com/rs/zerolog/log" - "github.com/thegeeklab/wp-plugin-go/v2/trace" + plugin_trace "github.com/thegeeklab/wp-plugin-go/v3/trace" "github.com/urfave/cli/v2" "golang.org/x/net/proxy" ) @@ -126,7 +126,7 @@ func NetworkFromContext(ctx *cli.Context) Network { } if zerolog.GlobalLevel() == zerolog.TraceLevel { - defaultContext = trace.HTTP(defaultContext) + defaultContext = plugin_trace.HTTP(defaultContext) } client := &http.Client{