1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-01-20 15:32:52 +00:00

Fix compatability issue with reflect.StructTag

This commit is contained in:
hugmouse 2021-10-29 17:27:12 +08:00 committed by handlerug
parent 163fb4ef35
commit 838f9be1c8

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