From def70aa4a8ff86429287d60397c0ad55824ce716 Mon Sep 17 00:00:00 2001 From: astravexton Date: Fri, 22 Oct 2021 15:31:26 +0100 Subject: [PATCH] Change import paths --- client/puller/chat.go | 2 +- client/puller/chats.go | 2 +- client/puller/supergroup.go | 2 +- cmd/generate-code.go | 4 ++-- cmd/generate-json.go | 2 +- codegen/function.go | 2 +- codegen/tdlib.go | 2 +- codegen/type.go | 2 +- codegen/unmarshaler.go | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/client/puller/chat.go b/client/puller/chat.go index eb5eb8b..30123d2 100644 --- a/client/puller/chat.go +++ b/client/puller/chat.go @@ -1,7 +1,7 @@ package puller import ( - "github.com/astravexton/go-tdlib/client" + "git.zio.sh/astra/go-tdlib/client" ) func ChatHistory(tdlibClient *client.Client, chatId int64) (chan *client.Message, chan error) { diff --git a/client/puller/chats.go b/client/puller/chats.go index 88850e4..94fea20 100644 --- a/client/puller/chats.go +++ b/client/puller/chats.go @@ -3,7 +3,7 @@ package puller import ( "math" - "github.com/astravexton/go-tdlib/client" + "git.zio.sh/astra/go-tdlib/client" ) func Chats(tdlibClient *client.Client) (chan *client.Chat, chan error) { diff --git a/client/puller/supergroup.go b/client/puller/supergroup.go index 9be7ebc..461178b 100644 --- a/client/puller/supergroup.go +++ b/client/puller/supergroup.go @@ -1,7 +1,7 @@ package puller import ( - "github.com/astravexton/go-tdlib/client" + "git.zio.sh/astra/go-tdlib/client" ) func SupergroupMembers(tdlibClient *client.Client, supergroupId int32) (chan *client.ChatMember, chan error) { diff --git a/cmd/generate-code.go b/cmd/generate-code.go index 13abfba..8a44978 100644 --- a/cmd/generate-code.go +++ b/cmd/generate-code.go @@ -8,8 +8,8 @@ import ( "os" "path/filepath" - "github.com/astravexton/go-tdlib/codegen" - "github.com/astravexton/go-tdlib/tlparser" + "git.zio.sh/astra/go-tdlib/codegen" + "git.zio.sh/astra/go-tdlib/tlparser" ) type config struct { diff --git a/cmd/generate-json.go b/cmd/generate-json.go index a2e7a55..94d077b 100644 --- a/cmd/generate-json.go +++ b/cmd/generate-json.go @@ -10,7 +10,7 @@ import ( "path/filepath" "strings" - "github.com/astravexton/go-tdlib/tlparser" + "git.zio.sh/astra/go-tdlib/tlparser" ) func main() { diff --git a/codegen/function.go b/codegen/function.go index 2ce5d73..cb73fbb 100644 --- a/codegen/function.go +++ b/codegen/function.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - "github.com/astravexton/go-tdlib/tlparser" + "git.zio.sh/astra/go-tdlib/tlparser" ) func GenerateFunctions(schema *tlparser.Schema, packageName string) []byte { diff --git a/codegen/tdlib.go b/codegen/tdlib.go index 57ac6d2..8210c8a 100644 --- a/codegen/tdlib.go +++ b/codegen/tdlib.go @@ -4,7 +4,7 @@ import ( "log" "strings" - "github.com/astravexton/go-tdlib/tlparser" + "git.zio.sh/astra/go-tdlib/tlparser" ) type tdlibFunction struct { diff --git a/codegen/type.go b/codegen/type.go index 418a06b..525001f 100644 --- a/codegen/type.go +++ b/codegen/type.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - "github.com/astravexton/go-tdlib/tlparser" + "git.zio.sh/astra/go-tdlib/tlparser" ) func GenerateTypes(schema *tlparser.Schema, packageName string) []byte { diff --git a/codegen/unmarshaler.go b/codegen/unmarshaler.go index ad439d8..fd28b47 100644 --- a/codegen/unmarshaler.go +++ b/codegen/unmarshaler.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - "github.com/astravexton/go-tdlib/tlparser" + "git.zio.sh/astra/go-tdlib/tlparser" ) func GenerateUnmarshalers(schema *tlparser.Schema, packageName string) []byte {