aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2020-06-06 05:25:23 +0700
committerShulhan <m.shulhan@gmail.com>2020-06-06 05:25:42 +0700
commitb1133f25df3ec38b503e1ea6129ea6b3397968bb (patch)
tree53a2c6755c6a2e0d9ed13b84603e5b8bcd2e3ee0 /api
parent8661178b08ce640d7c24aec8465802e4d5160e2a (diff)
downloadpakakeh.go-b1133f25df3ec38b503e1ea6129ea6b3397968bb.tar.xz
all: use default linter options
Diffstat (limited to 'api')
-rw-r--r--api/telegram/bot/bot_test.go2
-rw-r--r--api/telegram/bot/passport_data.go1
2 files changed, 2 insertions, 1 deletions
diff --git a/api/telegram/bot/bot_test.go b/api/telegram/bot/bot_test.go
index cdf40d92..365e5e84 100644
--- a/api/telegram/bot/bot_test.go
+++ b/api/telegram/bot/bot_test.go
@@ -15,7 +15,7 @@ const (
)
var (
- testBot *Bot //nolint: gochecknoglobals
+ testBot *Bot
)
func TestMain(m *testing.M) {
diff --git a/api/telegram/bot/passport_data.go b/api/telegram/bot/passport_data.go
index 526cec4e..cefaf14a 100644
--- a/api/telegram/bot/passport_data.go
+++ b/api/telegram/bot/passport_data.go
@@ -7,6 +7,7 @@ package bot
//
// PassportData contains information about Telegram Passport data shared with
// the bot by the user.
+//
type PassportData struct {
// Array with information about documents and other Telegram Passport
// elements that was shared with the bot.