Skip to content

Commit

Permalink
Merge branch 'main' into feature/notifications-and-events
Browse files Browse the repository at this point in the history
  • Loading branch information
vifer authored May 27, 2024
2 parents bb1aea8 + 9acc4ae commit 714943a
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 30 deletions.
1 change: 0 additions & 1 deletion currencies.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/PaddleHQ/paddle-go-sdk
go 1.21.0

require (
github.com/ggicci/httpin v0.18.1
github.com/ggicci/httpin v0.19.0
github.com/hashicorp/go-cleanhttp v0.5.2
github.com/stretchr/testify v1.9.0
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/ggicci/httpin v0.18.1 h1:KPgt5yHl7qf9+YAQrKlJeHbDtkaF+D+HN/4dtlIkm2w=
github.com/ggicci/httpin v0.18.1/go.mod h1:hzsQHcbqLabmGOycf7WNw6AAzcVbsMeoOp46bWAbIWc=
github.com/ggicci/httpin v0.19.0 h1:p0B3SWLVgg770VirYiHB14M5wdRx3zR8mCTzM/TkTQ8=
github.com/ggicci/httpin v0.19.0/go.mod h1:hzsQHcbqLabmGOycf7WNw6AAzcVbsMeoOp46bWAbIWc=
github.com/ggicci/owl v0.8.2 h1:og+lhqpzSMPDdEB+NJfzoAJARP7qCG3f8uUC3xvGukA=
github.com/ggicci/owl v0.8.2/go.mod h1:PHRD57u41vFN5UtFz2SF79yTVoM3HlWpjMiE+ZU2dj4=
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
Expand Down
1 change: 0 additions & 1 deletion internal/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ var versionFs embed.FS

func init() {
core.RegisterDirective("paddle_include", &DirectiveInclude{})
core.RegisterDirective("query", &DirectiveQuery{}, true)
}

// New returns a new Client with the provided http.Client, apiKey, and baseURL.
Expand Down
2 changes: 1 addition & 1 deletion internal/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func TestClient(t *testing.T) {

type Req struct {
ID string `in:"query=id"`
Optional *string `in:"query=optional,omitempty"`
Optional *string `in:"query=optional;omitempty"`
}

type ReqPath struct {
Expand Down
24 changes: 0 additions & 24 deletions internal/client/directive_query.go

This file was deleted.

0 comments on commit 714943a

Please sign in to comment.