Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DatabaseConfig `mapstructure:",squash"` TelegramBotConfig `mapstructure:",squash"` Messages }
type DatabaseConfig ¶
type Messages ¶
type Messages struct { NotAuthorized string AuthSuccess string PleaseTypeNameOfCategory string PleaseTypeNewNameOfTheCategory string CategoryExists string CategoryNotFound string CategoryCreated string CategoryRemoved string CategoryRenamed string CategoryToBeRenamedNotFound string SelectCategoriesToRemove string SelectCategoriesToRename string ListCategories string NoCategories string InvalidCategoryName string InvalidNoteContent string SelectCategoryForNote string SelectCategoryToRemoveNotes string SelectCategoryToListNotes string NoteCreated string NoteRemoved string SelectNotes string ListNotesInCategory string NoNotesInCategory string }
type TelegramBotConfig ¶
type TelegramBotConfig struct {
APIKey string `mapstructure:"BOT_API_KEY"`
}
Click to show internal directories.
Click to hide internal directories.