Skip to content

Commit

Permalink
bump major
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys committed May 17, 2024
1 parent 6be7f2b commit 23eca50
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/thegeeklab/wp-plugin-go/v2
module github.com/thegeeklab/wp-plugin-go/v3

go 1.22

Expand Down
4 changes: 2 additions & 2 deletions plugin/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down Expand Up @@ -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{
Expand Down

0 comments on commit 23eca50

Please sign in to comment.