From 96edc748b506a28d238ba44149c585ba59b9fa7d Mon Sep 17 00:00:00 2001 From: Sergey Parshukov Date: Wed, 2 Oct 2019 13:52:46 +0300 Subject: [PATCH] Rename package to `got` --- bot.go | 4 ++-- bot_test.go | 2 +- configs.go | 2 +- helpers.go | 4 ++-- helpers_test.go | 2 +- log.go | 2 +- passport.go | 2 +- types.go | 2 +- types_test.go | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/bot.go b/bot.go index a996790..8b7e872 100644 --- a/bot.go +++ b/bot.go @@ -1,6 +1,6 @@ -// Package tgbotapi has functions and types used for interacting with +// Package got has functions and types used for interacting with // the Telegram Bot API. -package tgbotapi +package got import ( "bytes" diff --git a/bot_test.go b/bot_test.go index 1702c5d..8de5301 100644 --- a/bot_test.go +++ b/bot_test.go @@ -1,4 +1,4 @@ -package tgbotapi_test +package got_test import ( "io/ioutil" diff --git a/configs.go b/configs.go index d28fd3b..3546415 100644 --- a/configs.go +++ b/configs.go @@ -1,4 +1,4 @@ -package tgbotapi +package got import ( "encoding/json" diff --git a/helpers.go b/helpers.go index 6247462..8dd227a 100644 --- a/helpers.go +++ b/helpers.go @@ -1,4 +1,4 @@ -package tgbotapi +package got import ( "net/url" @@ -622,7 +622,7 @@ func NewEditMessageCaption(chatID int64, messageID int, caption string) EditMess ChatID: chatID, MessageID: messageID, }, - Caption: caption, + Caption: caption, } } diff --git a/helpers_test.go b/helpers_test.go index 88f2c33..e2a0d21 100644 --- a/helpers_test.go +++ b/helpers_test.go @@ -1,4 +1,4 @@ -package tgbotapi_test +package got_test import ( "testing" diff --git a/log.go b/log.go index 1872551..725da7a 100644 --- a/log.go +++ b/log.go @@ -1,4 +1,4 @@ -package tgbotapi +package got import ( "errors" diff --git a/passport.go b/passport.go index 5f55006..ca305e1 100644 --- a/passport.go +++ b/passport.go @@ -1,4 +1,4 @@ -package tgbotapi +package got // PassportRequestInfoConfig allows you to request passport info type PassportRequestInfoConfig struct { diff --git a/types.go b/types.go index c52df98..e630de0 100644 --- a/types.go +++ b/types.go @@ -1,4 +1,4 @@ -package tgbotapi +package got import ( "encoding/json" diff --git a/types_test.go b/types_test.go index c976327..b00a5f7 100644 --- a/types_test.go +++ b/types_test.go @@ -1,4 +1,4 @@ -package tgbotapi_test +package got_test import ( "testing"