From e18d8788478f02508d81cc8d386caa2dce3b103f Mon Sep 17 00:00:00 2001 From: Frederik Ring Date: Sun, 26 Aug 2018 18:31:11 +0200 Subject: [PATCH] Add go.mod in order to allow semantic import versioning --- bot_test.go | 2 +- go.mod | 3 +++ go.sum | 2 ++ helpers_test.go | 3 ++- types_test.go | 2 +- 5 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 go.mod create mode 100644 go.sum diff --git a/bot_test.go b/bot_test.go index e7aa7acc..ffd771fa 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" + "github.com/go-telegram-bot-api/telegram-bot-api/v4" ) const ( diff --git a/go.mod b/go.mod new file mode 100644 index 00000000..f80bb9c9 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module github.com/go-telegram-bot-api/telegram-bot-api/v4 + +require github.com/technoweenie/multipartstreamer v1.0.1 diff --git a/go.sum b/go.sum new file mode 100644 index 00000000..86606006 --- /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 9542f026..aa4eaa3d 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" + + "github.com/go-telegram-bot-api/telegram-bot-api/v4" ) func TestNewInlineQueryResultArticle(t *testing.T) { diff --git a/types_test.go b/types_test.go index bb7bb646..4e7e8444 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" + "github.com/go-telegram-bot-api/telegram-bot-api/v4" ) func TestUserStringWith(t *testing.T) {