Versions in this module Expand all Collapse all v2 v2.0.0 Jul 30, 2023 Changes in this version + func At(s Interface, chatID int64, m time.Month, d int) (models.Events, error) + func Next(s Interface, chatID int64) (models.Events, error) + func Today(s Interface, chatID int64) (models.Events, error) + type Interface interface + Add func(chatID int64, e models.Event) error + At func(chatID int64, t time.Time) (models.Events, error) + ChatIDs func() []int64 + Format func(chatID int64) string + IsEnabled func(chatID int64) bool + Remove func(chatID int64, e models.Event) error + type YAML struct + func NewYAML(path string) (*YAML, error) + func (y *YAML) Add(chatID int64, e models.Event) error + func (y *YAML) At(chatID int64, t time.Time) (models.Events, error) + func (y *YAML) ChatIDs() []int64 + func (y *YAML) Format(chatID int64) string + func (y *YAML) IsEnabled(chatID int64) bool + func (y *YAML) Remove(chatID int64, e models.Event) error