mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-01-20 23:36:51 +00:00
Fix compatability issue with reflect.StructTag
This commit is contained in:
parent
163fb4ef35
commit
838f9be1c8
@ -97,8 +97,8 @@ type Authorization struct {
|
|||||||
|
|
||||||
// Telegram is the section of Config that sets Telegram authorization.
|
// Telegram is the section of Config that sets Telegram authorization.
|
||||||
type Telegram struct {
|
type Telegram struct {
|
||||||
TelegramBotToken string `comment:"Token of your bot.`
|
TelegramBotToken string `comment:"Token of your bot."`
|
||||||
TelegramBotName string `comment:"Username of your bot, sans @.`
|
TelegramBotName string `comment:"Username of your bot, sans @."`
|
||||||
}
|
}
|
||||||
|
|
||||||
// ReadConfigFile reads a config on the given path and stores the
|
// ReadConfigFile reads a config on the given path and stores the
|
||||||
|
Loading…
Reference in New Issue
Block a user