diff --git a/app/login/auth.go b/app/login/auth.go index a226c173c..cdc2658d2 100644 --- a/app/login/auth.go +++ b/app/login/auth.go @@ -3,10 +3,10 @@ package login import ( "context" "errors" + "github.com/dpastoor/go-input" "github.com/fatih/color" "github.com/gotd/td/telegram/auth" "github.com/gotd/td/tg" - "github.com/tcnksm/go-input" "strings" ) diff --git a/go.mod b/go.mod index 3490578ca..7f3c339bd 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,7 @@ module github.com/iyear/tdl go 1.18 require ( + github.com/dpastoor/go-input v0.0.0-20170428152650-f4bfe573b917 github.com/fatih/color v1.13.0 github.com/gabriel-vasile/mimetype v1.4.1 github.com/go-playground/validator/v10 v10.11.0 @@ -10,7 +11,6 @@ require ( github.com/gotd/td v0.68.1 github.com/jedib0t/go-pretty/v6 v6.3.8 github.com/spf13/cobra v1.5.0 - github.com/tcnksm/go-input v0.0.0-20180404061846-548a7d7a8ee8 go.etcd.io/bbolt v1.3.6 golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde diff --git a/go.sum b/go.sum index a3babe56b..da1f555e8 100644 --- a/go.sum +++ b/go.sum @@ -7,6 +7,8 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 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/dpastoor/go-input v0.0.0-20170428152650-f4bfe573b917 h1:NM+xUZ6GjqE9K3jQBxv1LyVqS0WiE5boaFTn02p9Zsg= +github.com/dpastoor/go-input v0.0.0-20170428152650-f4bfe573b917/go.mod h1:ehZc4MjzEkKMHnwQ89CyJdeMs7EPCVlgvgINNql7b4g= github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/gabriel-vasile/mimetype v1.4.1 h1:TRWk7se+TOjCYgRth7+1/OYLNiRNIotknkFtf/dnN7Q= @@ -116,8 +118,6 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.4/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk= -github.com/tcnksm/go-input v0.0.0-20180404061846-548a7d7a8ee8 h1:RB0v+/pc8oMzPsN97aZYEwNuJ6ouRJ2uhjxemJ9zvrY= -github.com/tcnksm/go-input v0.0.0-20180404061846-548a7d7a8ee8/go.mod h1:IlWNj9v/13q7xFbaK4mbyzMNwrZLaWSHx/aibKIZuIg= github.com/ugorji/go v1.1.7 h1:/68gy2h+1mWMrwZFeD1kQialdSzAb432dtpeJ42ovdo= github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= github.com/ugorji/go/codec v1.1.7 h1:2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs=