From 838f9be1c858ebdfb9038dc5fa791f9d1a990be4 Mon Sep 17 00:00:00 2001 From: hugmouse Date: Fri, 29 Oct 2021 17:27:12 +0800 Subject: [PATCH] Fix compatability issue with reflect.StructTag --- cfg/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cfg/config.go b/cfg/config.go index 45f910f..9aef87d 100644 --- a/cfg/config.go +++ b/cfg/config.go @@ -97,8 +97,8 @@ type Authorization struct { // Telegram is the section of Config that sets Telegram authorization. type Telegram struct { - TelegramBotToken string `comment:"Token of your bot.` - TelegramBotName string `comment:"Username of your bot, sans @.` + TelegramBotToken string `comment:"Token of your bot."` + TelegramBotName string `comment:"Username of your bot, sans @."` } // ReadConfigFile reads a config on the given path and stores the