lint: align config field types
This commit is contained in:
parent
584c9afe74
commit
3a449c4d0d
@ -8,7 +8,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
BotToken string `env:"BOTTOKEN, required"`
|
BotToken string `env:"BOTTOKEN, required"`
|
||||||
AdminPass string `env:"ADMINPASSWORD, required"` // to activate admin privileges in bot type command: /secret `AdminPass`
|
AdminPass string `env:"ADMINPASSWORD, required"` // to activate admin privileges in bot type command: /secret `AdminPass`
|
||||||
AdminID *int64 `env:"ADMINID"` // optional admin ID for notifications
|
AdminID *int64 `env:"ADMINID"` // optional admin ID for notifications
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user