From b1133f25df3ec38b503e1ea6129ea6b3397968bb Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sat, 6 Jun 2020 05:25:23 +0700 Subject: all: use default linter options --- api/telegram/bot/bot_test.go | 2 +- api/telegram/bot/passport_data.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'api') 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. -- cgit v1.3