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

Update SDK examples to import opentonapi/tonapi without replacing it #239

Merged
merged 1 commit into from
Nov 1, 2023
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
12 changes: 4 additions & 8 deletions examples/golang/sse/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@ module github.com/tonkeeper/opentonapi/examples/golang/sse

go 1.21.3

require github.com/tonkeeper/opentonapi/tonapi v0.0.0-00010101000000-000000000000

require (
github.com/r3labs/sse/v2 v2.10.0
github.com/tonkeeper/tongo v1.3.3
)
require github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101150049-edaac1cf7e68

require (
github.com/dlclark/regexp2 v1.10.0 // indirect
Expand All @@ -19,12 +14,15 @@ require (
github.com/go-logr/logr v1.2.4 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/google/uuid v1.4.0 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/oasisprotocol/curve25519-voi v0.0.0-20220328075252-7dd334e3daae // indirect
github.com/ogen-go/ogen v0.77.0 // indirect
github.com/r3labs/sse/v2 v2.10.0 // indirect
github.com/segmentio/asm v1.2.0 // indirect
github.com/snksoft/crc v1.1.0 // indirect
github.com/tonkeeper/tongo v1.3.4-0.20231026105625-8a256dbf9884 // indirect
go.opentelemetry.io/otel v1.19.0 // indirect
go.opentelemetry.io/otel/metric v1.19.0 // indirect
go.opentelemetry.io/otel/trace v1.19.0 // indirect
Expand All @@ -39,5 +37,3 @@ require (
gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)

replace github.com/tonkeeper/opentonapi/tonapi => ./../../../tonapi
8 changes: 6 additions & 2 deletions examples/golang/sse/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4=
github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc=
github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
Expand Down Expand Up @@ -49,8 +51,10 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/tonkeeper/tongo v1.3.3 h1:VfpSkMATz6E9PGWzgURHPKoG9uGkooD3bjODj+9Hbm8=
github.com/tonkeeper/tongo v1.3.3/go.mod h1:LdOBjpUz6vLp1EdX3E0XLNks9YI5XMSqaQahfOMrBEY=
github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101150049-edaac1cf7e68 h1:ozA0nbIH4/hIidUOPMCVCJGcHCXC4Krl/nTnctX7fH0=
github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101150049-edaac1cf7e68/go.mod h1:cBkWkSjcphjyBwb1Yx8jXS23IPtYkCpsrsNZFXDbXsg=
github.com/tonkeeper/tongo v1.3.4-0.20231026105625-8a256dbf9884 h1:GwE/wrb415Qy/zo1kYbvKfoMIJDc7K9E+0v8C6RoXao=
github.com/tonkeeper/tongo v1.3.4-0.20231026105625-8a256dbf9884/go.mod h1:LdOBjpUz6vLp1EdX3E0XLNks9YI5XMSqaQahfOMrBEY=
go.opentelemetry.io/otel v1.19.0 h1:MuS/TNf4/j4IXsZuJegVzI1cwut7Qc00344rgH7p8bs=
go.opentelemetry.io/otel v1.19.0/go.mod h1:i0QyjOq3UPoTzff0PJB2N66fb4S0+rSbSB15/oyH9fY=
go.opentelemetry.io/otel/metric v1.19.0 h1:aTzpGtV0ar9wlV4Sna9sdJyII5jTVJEvKETPiOKwvpE=
Expand Down
4 changes: 1 addition & 3 deletions examples/golang/tonapi-sdk/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/tonkeeper/opentonapi/examples/tonapi-sdk

go 1.21.3

require github.com/tonkeeper/opentonapi/tonapi v0.0.0-00010101000000-000000000000
require github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101150049-edaac1cf7e68

require (
github.com/dlclark/regexp2 v1.10.0 // indirect
Expand Down Expand Up @@ -37,5 +37,3 @@ require (
gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)

replace github.com/tonkeeper/opentonapi/tonapi => ./../../../tonapi
2 changes: 2 additions & 0 deletions examples/golang/tonapi-sdk/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101150049-edaac1cf7e68 h1:ozA0nbIH4/hIidUOPMCVCJGcHCXC4Krl/nTnctX7fH0=
github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101150049-edaac1cf7e68/go.mod h1:cBkWkSjcphjyBwb1Yx8jXS23IPtYkCpsrsNZFXDbXsg=
github.com/tonkeeper/tongo v1.3.3 h1:VfpSkMATz6E9PGWzgURHPKoG9uGkooD3bjODj+9Hbm8=
github.com/tonkeeper/tongo v1.3.3/go.mod h1:LdOBjpUz6vLp1EdX3E0XLNks9YI5XMSqaQahfOMrBEY=
go.opentelemetry.io/otel v1.19.0 h1:MuS/TNf4/j4IXsZuJegVzI1cwut7Qc00344rgH7p8bs=
Expand Down
4 changes: 1 addition & 3 deletions examples/golang/websocket/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/tonkeeper/opentonapi/examples/golang/websocket

go 1.21.3

require github.com/tonkeeper/opentonapi/tonapi v0.0.0-00010101000000-000000000000
require github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101150049-edaac1cf7e68

require (
github.com/dlclark/regexp2 v1.10.0 // indirect
Expand Down Expand Up @@ -37,5 +37,3 @@ require (
gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)

replace github.com/tonkeeper/opentonapi/tonapi => ./../../../tonapi
2 changes: 2 additions & 0 deletions examples/golang/websocket/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101150049-edaac1cf7e68 h1:ozA0nbIH4/hIidUOPMCVCJGcHCXC4Krl/nTnctX7fH0=
github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101150049-edaac1cf7e68/go.mod h1:cBkWkSjcphjyBwb1Yx8jXS23IPtYkCpsrsNZFXDbXsg=
github.com/tonkeeper/tongo v1.3.3 h1:VfpSkMATz6E9PGWzgURHPKoG9uGkooD3bjODj+9Hbm8=
github.com/tonkeeper/tongo v1.3.3/go.mod h1:LdOBjpUz6vLp1EdX3E0XLNks9YI5XMSqaQahfOMrBEY=
go.opentelemetry.io/otel v1.19.0 h1:MuS/TNf4/j4IXsZuJegVzI1cwut7Qc00344rgH7p8bs=
Expand Down