diff --git a/docs/README.md b/docs/README.md index bba00e6..46eafa3 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,24 +1,16 @@ -# GoLang bindings for the Telegram API [![discord](https://discordapp.com/api/guilds/208605007744860163/widget.png)](https://discord.gg/dCWkgSS) +# GoLang bindings for the Telegram API > This package is in active development and **not recommended for use in production for now**. Use [go dep](https://golang.github.io/dep/) to freeze the state of the package in your projects! -[![License](https://img.shields.io/npm/l/express.svg?maxAge=2592000)](LICENSE.md) -[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ftoby3d%2Ftelegram.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Ftoby3d%2Ftelegram?ref=badge_shield) -[![Build Status](https://travis-ci.org/toby3d/telegram.svg)](https://travis-ci.org/toby3d/telegram) -[![GoDoc](https://godoc.org/github.com/toby3d/telegram?status.svg)](https://godoc.org/github.com/toby3d/telegram) -[![Go Report](https://goreportcard.com/badge/github.com/toby3d/telegram)](https://goreportcard.com/report/github.com/toby3d/telegram) -[![Patreon](https://img.shields.io/badge/support-patreon-E6461A.svg?maxAge=2592000)](https://www.patreon.com/toby3d) -[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/avelino/awesome-go) - ## Start using telegram Download and install it: -`$ go get -u github.com/toby3d/telegram` +`$ go get -u gitlab.com/toby3d/telegram` Import it in your code: -`import "github.com/toby3d/telegram"` +`import "gitlab.com/toby3d/telegram"` ## Need help? -- [Open new issue](https://github.com/toby3d/telegram/issues/new) +- [Open new issue](https://gitlab.com/toby3d/telegram/issues/new) - [Discuss in Discord](https://discord.gg/dCWkgSS) ## License -[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ftoby3d%2Ftelegram.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Ftoby3d%2Ftelegram?ref=badge_large) \ No newline at end of file +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgitlab.com%2Ftoby3d%2Ftelegram.svg?type=large)](https://app.fossa.io/projects/git%2Bgitlab.com%2Ftoby3d%2Ftelegram?ref=badge_large) \ No newline at end of file diff --git a/test/bot_test.go b/test/bot_test.go index b624a04..1741e97 100644 --- a/test/bot_test.go +++ b/test/bot_test.go @@ -4,7 +4,7 @@ import ( "os" "testing" - "github.com/toby3d/telegram" + "gitlab.com/toby3d/telegram" ) const accessToken = "153667468:AAHlSHlMqSt1f_uFmVRJbm5gntu2HI4WW8I" diff --git a/test/chat_test.go b/test/chat_test.go index fde075a..7057247 100644 --- a/test/chat_test.go +++ b/test/chat_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/toby3d/telegram" + "gitlab.com/toby3d/telegram" ) const ( diff --git a/test/get_test.go b/test/get_test.go index b543cee..f2696cc 100644 --- a/test/get_test.go +++ b/test/get_test.go @@ -3,7 +3,7 @@ package test import ( "testing" - "github.com/toby3d/telegram" + "gitlab.com/toby3d/telegram" ) func TestGetMe(t *testing.T) { diff --git a/test/message_test.go b/test/message_test.go index c396321..32ab555 100644 --- a/test/message_test.go +++ b/test/message_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/toby3d/telegram" + "gitlab.com/toby3d/telegram" ) const replyToMessageID = 35 diff --git a/test/send_test.go b/test/send_test.go index ae96f03..b16a772 100644 --- a/test/send_test.go +++ b/test/send_test.go @@ -4,7 +4,7 @@ import ( "net/url" "testing" - "github.com/toby3d/telegram" + "gitlab.com/toby3d/telegram" ) const ( diff --git a/test/webhook_test.go b/test/webhook_test.go index 1d8c128..ef81b47 100644 --- a/test/webhook_test.go +++ b/test/webhook_test.go @@ -3,12 +3,12 @@ package test import ( "testing" - "github.com/toby3d/telegram" + "gitlab.com/toby3d/telegram" ) func TestSetWebhook(t *testing.T) { ok, err := bot.SetWebhook( - telegram.NewWebhook("https://toby3d.github.io/telegram", nil), + telegram.NewWebhook("https://toby3d.ru/telegram", nil), ) if err != nil { t.Error(err.Error())