From 737043aa8d480c9258b0ff577d5e5781b05d1e9a Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 3 Oct 2020 08:21:57 +0800 Subject: [PATCH] chore: update api import path Signed-off-by: Bo-Yi Wu --- go.mod | 3 +-- go.sum | 2 -- plugin.go | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 811245e..61389b5 100644 --- a/go.mod +++ b/go.mod @@ -4,10 +4,9 @@ go 1.11 require ( github.com/drone/drone-template-lib v1.0.1-0.20200720062915-8efa917a1fee - github.com/go-telegram-bot-api/telegram-bot-api v4.6.4+incompatible // indirect + github.com/go-telegram-bot-api/telegram-bot-api v4.6.4+incompatible github.com/joho/godotenv v1.3.0 github.com/stretchr/testify v1.6.1 github.com/technoweenie/multipartstreamer v1.0.1 // indirect github.com/urfave/cli v1.20.0 - gopkg.in/telegram-bot-api.v4 v4.6.4 ) diff --git a/go.sum b/go.sum index b02dd4c..3c332ae 100644 --- a/go.sum +++ b/go.sum @@ -40,8 +40,6 @@ golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/telegram-bot-api.v4 v4.6.4 h1:hpHWhzn4jTCsAJZZ2loNKfy2QWyPDRJVl3aTFXeMW8g= -gopkg.in/telegram-bot-api.v4 v4.6.4/go.mod h1:5DpGO5dbumb40px+dXcwCpcjmeHNYLpk0bp3XRNvWDM= gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= diff --git a/plugin.go b/plugin.go index 7e9cc05..95a46aa 100644 --- a/plugin.go +++ b/plugin.go @@ -16,7 +16,7 @@ import ( "strings" "github.com/drone/drone-template-lib/template" - tgbotapi "gopkg.in/telegram-bot-api.v4" + tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api" ) const (