diff --git a/go.mod b/go.mod index 06011b0..4292f45 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module gopkg.in/tucnak/telebot.v3 +module gopkg.in/telebot.v3 go 1.13 diff --git a/layout/config.go b/layout/config.go index 9f65817..e48c205 100644 --- a/layout/config.go +++ b/layout/config.go @@ -6,7 +6,7 @@ import ( "github.com/goccy/go-yaml" "github.com/spf13/cast" - tele "gopkg.in/tucnak/telebot.v3" + tele "gopkg.in/telebot.v3" ) // Config represents typed map interface related to the "config" section in layout. diff --git a/layout/default.go b/layout/default.go index 0125ef4..27bf99e 100644 --- a/layout/default.go +++ b/layout/default.go @@ -1,7 +1,7 @@ package layout import ( - tele "gopkg.in/tucnak/telebot.v3" + tele "gopkg.in/telebot.v3" ) // DefaultLayout is a simplified layout instance with pre-defined locale by default. diff --git a/layout/layout.go b/layout/layout.go index 1334e9d..94c51ba 100644 --- a/layout/layout.go +++ b/layout/layout.go @@ -10,7 +10,7 @@ import ( "text/template" "github.com/goccy/go-yaml" - tele "gopkg.in/tucnak/telebot.v3" + tele "gopkg.in/telebot.v3" ) type ( diff --git a/layout/layout_test.go b/layout/layout_test.go index ee25331..a9d8a13 100644 --- a/layout/layout_test.go +++ b/layout/layout_test.go @@ -6,7 +6,7 @@ import ( "time" "github.com/stretchr/testify/assert" - tele "gopkg.in/tucnak/telebot.v3" + tele "gopkg.in/telebot.v3" ) func TestLayout(t *testing.T) { diff --git a/layout/middleware.go b/layout/middleware.go index 8499ded..b62f53a 100644 --- a/layout/middleware.go +++ b/layout/middleware.go @@ -1,7 +1,7 @@ package layout import ( - tele "gopkg.in/tucnak/telebot.v3" + tele "gopkg.in/telebot.v3" ) // LocaleFunc is the function used to fetch the locale of the recipient. diff --git a/layout/parser.go b/layout/parser.go index 1986631..a201319 100644 --- a/layout/parser.go +++ b/layout/parser.go @@ -9,7 +9,7 @@ import ( "text/template" "github.com/goccy/go-yaml" - tele "gopkg.in/tucnak/telebot.v3" + tele "gopkg.in/telebot.v3" ) type Settings struct { diff --git a/middleware/logger.go b/middleware/logger.go index d7b3b4b..cfe01be 100644 --- a/middleware/logger.go +++ b/middleware/logger.go @@ -4,7 +4,7 @@ import ( "encoding/json" "log" - tele "gopkg.in/tucnak/telebot.v3" + tele "gopkg.in/telebot.v3" ) func Logger(logger ...*log.Logger) tele.MiddlewareFunc { diff --git a/middleware/misc.go b/middleware/misc.go index 3465981..1a0cafa 100644 --- a/middleware/misc.go +++ b/middleware/misc.go @@ -1,6 +1,6 @@ package middleware -import tele "gopkg.in/tucnak/telebot.v3" +import tele "gopkg.in/telebot.v3" func AutoRespond() tele.MiddlewareFunc { return func(next tele.HandlerFunc) tele.HandlerFunc { diff --git a/middleware/restrict.go b/middleware/restrict.go index 343e496..0bd83d9 100644 --- a/middleware/restrict.go +++ b/middleware/restrict.go @@ -1,6 +1,6 @@ package middleware -import tele "gopkg.in/tucnak/telebot.v3" +import tele "gopkg.in/telebot.v3" type RestrictConfig struct { Chats []int64