Change import paths

main v1.7.0
astravexton 2021-10-22 15:31:26 +01:00
parent 9e75ad4ebc
commit def70aa4a8
9 changed files with 10 additions and 10 deletions

View File

@ -1,7 +1,7 @@
package puller package puller
import ( 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) { func ChatHistory(tdlibClient *client.Client, chatId int64) (chan *client.Message, chan error) {

View File

@ -3,7 +3,7 @@ package puller
import ( import (
"math" "math"
"github.com/astravexton/go-tdlib/client" "git.zio.sh/astra/go-tdlib/client"
) )
func Chats(tdlibClient *client.Client) (chan *client.Chat, chan error) { func Chats(tdlibClient *client.Client) (chan *client.Chat, chan error) {

View File

@ -1,7 +1,7 @@
package puller package puller
import ( 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) { func SupergroupMembers(tdlibClient *client.Client, supergroupId int32) (chan *client.ChatMember, chan error) {

View File

@ -8,8 +8,8 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"github.com/astravexton/go-tdlib/codegen" "git.zio.sh/astra/go-tdlib/codegen"
"github.com/astravexton/go-tdlib/tlparser" "git.zio.sh/astra/go-tdlib/tlparser"
) )
type config struct { type config struct {

View File

@ -10,7 +10,7 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/astravexton/go-tdlib/tlparser" "git.zio.sh/astra/go-tdlib/tlparser"
) )
func main() { func main() {

View File

@ -4,7 +4,7 @@ import (
"bytes" "bytes"
"fmt" "fmt"
"github.com/astravexton/go-tdlib/tlparser" "git.zio.sh/astra/go-tdlib/tlparser"
) )
func GenerateFunctions(schema *tlparser.Schema, packageName string) []byte { func GenerateFunctions(schema *tlparser.Schema, packageName string) []byte {

View File

@ -4,7 +4,7 @@ import (
"log" "log"
"strings" "strings"
"github.com/astravexton/go-tdlib/tlparser" "git.zio.sh/astra/go-tdlib/tlparser"
) )
type tdlibFunction struct { type tdlibFunction struct {

View File

@ -4,7 +4,7 @@ import (
"bytes" "bytes"
"fmt" "fmt"
"github.com/astravexton/go-tdlib/tlparser" "git.zio.sh/astra/go-tdlib/tlparser"
) )
func GenerateTypes(schema *tlparser.Schema, packageName string) []byte { func GenerateTypes(schema *tlparser.Schema, packageName string) []byte {

View File

@ -4,7 +4,7 @@ import (
"bytes" "bytes"
"fmt" "fmt"
"github.com/astravexton/go-tdlib/tlparser" "git.zio.sh/astra/go-tdlib/tlparser"
) )
func GenerateUnmarshalers(schema *tlparser.Schema, packageName string) []byte { func GenerateUnmarshalers(schema *tlparser.Schema, packageName string) []byte {