mod: update module name

pull/452/head
Demian 2 years ago
parent a6873e3cdf
commit 444c6f8b66

@ -1,4 +1,4 @@
module gopkg.in/tucnak/telebot.v3
module gopkg.in/telebot.v3
go 1.13

@ -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.

@ -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.

@ -10,7 +10,7 @@ import (
"text/template"
"github.com/goccy/go-yaml"
tele "gopkg.in/tucnak/telebot.v3"
tele "gopkg.in/telebot.v3"
)
type (

@ -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) {

@ -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.

@ -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 {

@ -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 {

@ -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 {

@ -1,6 +1,6 @@
package middleware
import tele "gopkg.in/tucnak/telebot.v3"
import tele "gopkg.in/telebot.v3"
type RestrictConfig struct {
Chats []int64

Loading…
Cancel
Save