Skip to content

Commit

Permalink
chore: use gotd/ige
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Dec 5, 2020
1 parent 94d683d commit 57a0d18
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ module github.com/gotd/td
go 1.15

require (
github.com/ernado/ige v0.1.1
github.com/go-bindata/go-bindata v3.1.2+incompatible
github.com/go-openapi/inflect v0.19.0
github.com/go-playground/validator/v10 v10.4.1
github.com/gotd/getdoc v0.1.0
github.com/gotd/ige v0.1.3
github.com/gotd/tl v0.2.0
github.com/stretchr/testify v1.6.1
go.uber.org/zap v1.16.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385/go.mod h1:0vRUJqYpeSZi
github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/ernado/ige v0.1.1 h1:iFeXpAomVvT4Xw3uvzprkXpvH0BIiHXgudDle0Qhcpg=
github.com/ernado/ige v0.1.1/go.mod h1:+gbBDg70watSVAcCnvdNUcloW5yu3gHqCqZUTT5h0ws=
github.com/etcd-io/bbolt v1.3.3/go.mod h1:ZF2nL25h33cCyBtcyWeZ2/I3HQOfTP+0PIEvHjkjCrw=
github.com/fasthttp-contrib/websocket v0.0.0-20160511215533-1f3b11f56072/go.mod h1:duJ4Jxv5lDcvg4QuQr0oowTf7dz4/CR8NtyCooz9HL8=
github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M=
Expand Down Expand Up @@ -114,6 +112,8 @@ github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORR
github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
github.com/gotd/getdoc v0.1.0 h1:yvzgSmQzR9/v1pAplsrGoMUrBRZC3PW2KoG0f9tiK0g=
github.com/gotd/getdoc v0.1.0/go.mod h1:0tPkUBtE8K7RkL0JQrXn2dh/Bx++7YPqTOUFSrSok/M=
github.com/gotd/ige v0.1.3 h1:25U3zLl8PGO8Sp1gt8JYZFQbkqSGZVaGqKJWmfL/Zc4=
github.com/gotd/ige v0.1.3/go.mod h1:jl3REgEtHeWs7j4NCTvF7NvXrtTyAh+p2HIk+p8TFhQ=
github.com/gotd/tl v0.2.0 h1:kY0lKrNBL/ApU2enzsR2or0U/hoh4y1Msf1SJjS7/qY=
github.com/gotd/tl v0.2.0/go.mod h1:9xGV9pH5N+LDoNmbeuOor9AjJaQzlj4KP5EguI1LMM8=
github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
Expand Down
2 changes: 1 addition & 1 deletion internal/crypto/temp_keys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"math/big"
"testing"

"github.com/ernado/ige"
"github.com/gotd/ige"
)

func hexInt(hexValue string) *big.Int {
Expand Down
2 changes: 1 addition & 1 deletion telegram/create_auth_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"math/big"
"sync/atomic"

"github.com/ernado/ige"
"golang.org/x/xerrors"

"github.com/gotd/ige"
"github.com/gotd/td/bin"
"github.com/gotd/td/internal/crypto"
"github.com/gotd/td/internal/mt"
Expand Down
2 changes: 1 addition & 1 deletion telegram/decrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package telegram
import (
"crypto/aes"

"github.com/ernado/ige"
"golang.org/x/xerrors"

"github.com/gotd/ige"
"github.com/gotd/td/bin"
"github.com/gotd/td/internal/crypto"
)
Expand Down
3 changes: 1 addition & 2 deletions telegram/encrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import (
"crypto/aes"
"io"

"github.com/ernado/ige"

"github.com/gotd/ige"
"github.com/gotd/td/internal/crypto"
)

Expand Down

0 comments on commit 57a0d18

Please sign in to comment.