Rename full path in order to favor modules

This commit is contained in:
9seconds
2019-11-11 15:09:29 +03:00
parent b491e03504
commit 273aa18367
53 changed files with 120 additions and 122 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"strconv"
"strings"
"github.com/9seconds/mtg/conntypes"
"mtg/conntypes"
)
const (
+3 -3
View File
@@ -5,9 +5,9 @@ import (
"math/rand"
"net"
"github.com/9seconds/mtg/conntypes"
"github.com/9seconds/mtg/utils"
"github.com/9seconds/mtg/wrappers/stream"
"mtg/conntypes"
"mtg/utils"
"mtg/wrappers/stream"
)
type baseTelegram struct {
+1 -1
View File
@@ -1,6 +1,6 @@
package telegram
import "github.com/9seconds/mtg/conntypes"
import "mtg/conntypes"
const (
directV4DefaultIdx conntypes.DC = 1
+1 -1
View File
@@ -1,6 +1,6 @@
package telegram
import "github.com/9seconds/mtg/conntypes"
import "mtg/conntypes"
type Telegram interface {
Dial(conntypes.DC, conntypes.ConnectionProtocol) (conntypes.StreamReadWriteCloser, error)
+2 -2
View File
@@ -7,8 +7,8 @@ import (
"go.uber.org/zap"
"github.com/9seconds/mtg/conntypes"
"github.com/9seconds/mtg/telegram/api"
"mtg/conntypes"
"mtg/telegram/api"
)
const middleTelegramBackgroundUpdateEvery = time.Hour