Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitDotEnv ¶
func InitDotEnv() error
Types ¶
type Config ¶
type Config struct { TgToken string `envconfig:"tg_token"` MaintainerChatID int64 `envconfig:"maintainer_chat_id"` DBType string `envconfig:"db_type"` Sqlite SqliteConfig `envconfig:"sqlite"` }
type SqliteConfig ¶
Click to show internal directories.
Click to hide internal directories.