From d576cafba0b015b9302ca05322dec2e693d71de0 Mon Sep 17 00:00:00 2001 From: Tomansru Date: Tue, 26 Nov 2019 09:01:39 +0300 Subject: [PATCH] go mod Signed-off-by: Tomansru --- bot_test.go | 2 +- go.mod | 5 +++++ go.sum | 2 ++ helpers_test.go | 3 ++- types_test.go | 2 +- 5 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 go.mod create mode 100644 go.sum diff --git a/bot_test.go b/bot_test.go index 60f3e65..52be4ab 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" + "git.tomans.ru/Tomansru/telegram-bot-api" ) const ( diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..cfa281b --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module git.tomans.ru/Tomansru/telegram-bot-api + +go 1.13 + +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..f2439ab 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" + + "git.tomans.ru/Tomansru/telegram-bot-api" ) func TestNewInlineQueryResultArticle(t *testing.T) { diff --git a/types_test.go b/types_test.go index bb7bb64..6e2b4eb 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" + "git.tomans.ru/Tomansru/telegram-bot-api" ) func TestUserStringWith(t *testing.T) {