Fix compatability issue with reflect.StructTag

This commit is contained in:
hugmouse
2021-10-29 16:33:45 +07:00
committed by handlerug
parent 163fb4ef35
commit 838f9be1c8
+2 -2
View File
@@ -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