From b008ebe59eefe6ec8a99aef06e452141c5f13b70 Mon Sep 17 00:00:00 2001 From: Sergey Parshukov Date: Wed, 2 Oct 2019 13:03:37 +0300 Subject: [PATCH] Converted to module and renamed --- README.md | 3 +-- bot_test.go | 2 +- go.mod | 5 +++++ go.sum | 2 ++ helpers_test.go | 3 ++- types_test.go | 2 +- 6 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 go.mod create mode 100644 go.sum diff --git a/README.md b/README.md index bf341d2..a567ec1 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # Golang bindings for the Telegram Bot API -[![GoDoc](https://godoc.org/github.com/go-telegram-bot-api/telegram-bot-api?status.svg)](http://godoc.org/github.com/go-telegram-bot-api/telegram-bot-api) -[![Travis](https://travis-ci.org/go-telegram-bot-api/telegram-bot-api.svg)](https://travis-ci.org/go-telegram-bot-api/telegram-bot-api) +This is an internal fork of https://github.com/go-telegram-bot-api/telegram-bot-api All methods are fairly self explanatory, and reading the godoc page should explain everything. If something isn't clear, open an issue or submit diff --git a/bot_test.go b/bot_test.go index 60f3e65..1078a09 100644 --- a/bot_test.go +++ b/bot_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/go-telegram-bot-api/telegram-bot-api" + tgbotapi "github.com/Shimbo/got" ) const ( diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..81ed9bf --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module github.com/Shimbo/got + +go 1.12 + +require github.com/technoweenie/multipartstreamer v1.0.1 diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..8660600 --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +github.com/technoweenie/multipartstreamer v1.0.1 h1:XRztA5MXiR1TIRHxH2uNxXxaIkKQDeX7m2XsSOlQEnM= +github.com/technoweenie/multipartstreamer v1.0.1/go.mod h1:jNVxdtShOxzAsukZwTSw6MDx5eUJoiEBsSvzDU9uzog= diff --git a/helpers_test.go b/helpers_test.go index 9542f02..88f2c33 100644 --- a/helpers_test.go +++ b/helpers_test.go @@ -1,8 +1,9 @@ package tgbotapi_test import ( - "github.com/go-telegram-bot-api/telegram-bot-api" "testing" + + tgbotapi "github.com/Shimbo/got" ) func TestNewInlineQueryResultArticle(t *testing.T) { diff --git a/types_test.go b/types_test.go index a5db1d4..c976327 100644 --- a/types_test.go +++ b/types_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/go-telegram-bot-api/telegram-bot-api" + tgbotapi "github.com/Shimbo/got" ) func TestUserStringWith(t *testing.T) {