Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove custom JSON unmarshaling #30

Merged
merged 3 commits into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module github.com/DEXPRO-Solutions-GmbH/easclient
go 1.21.4

require (
github.com/go-json-experiment/json v0.0.0-20231102232822-2e55bd4e08b0
github.com/google/uuid v1.6.0
github.com/joho/godotenv v1.5.1
github.com/stretchr/testify v1.8.4
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
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/go-json-experiment/json v0.0.0-20231102232822-2e55bd4e08b0 h1:ymLjT4f35nQbASLnvxEde4XOBL+Sn7rFuV+FOJqkljg=
github.com/go-json-experiment/json v0.0.0-20231102232822-2e55bd4e08b0/go.mod h1:6daplAwHHGbUGib4990V3Il26O0OC4aRyvewaaAihaA=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
Expand Down
11 changes: 0 additions & 11 deletions json.go

This file was deleted.

96 changes: 0 additions & 96 deletions json_test.go

This file was deleted.

21 changes: 0 additions & 21 deletions resty.go

This file was deleted.

26 changes: 0 additions & 26 deletions resty_test.go

This file was deleted.

2 changes: 0 additions & 2 deletions server_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@ type ServerClient struct {

// NewServerClient creates a new client for server interaction.
func NewServerClient(c *resty.Client) *ServerClient {
c = copyRestyClient(c)
adaptRestyClient(c)
return &ServerClient{c: c}
}
2 changes: 0 additions & 2 deletions store_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ type StoreClient struct {

// NewStoreClient creates a new client for store interaction.
func NewStoreClient(c *resty.Client) *StoreClient {
c = copyRestyClient(c)
adaptRestyClient(c)
return &StoreClient{c: c}
}

Expand Down
Loading