Documentation
¶
Index ¶
- Constants
- func AddEvents(srv *gc.Service, events []*gc.Event, dryMode bool) error
- func DeleteEvents(srv *gc.Service, events []*gc.Event, dryMode bool) error
- func EventString(event *gc.Event) string
- func FetchUpcomingEventsAndDetails(srv *gc.Service, backYears int, aheadYears int, query string) ([]*gc.Event, string, string, error)
- func GetCalendarService(options *Options) (*gc.Service, error)
- type Options
Constants ¶
View Source
const TitlePrefix string = "[reminder] "
Variables ¶
This section is empty.
Functions ¶
func DeleteEvents ¶ added in v1.9.27
DeleteEvents delete passed cloud calendar events
func EventString ¶ added in v1.9.20
Types ¶
type Options ¶
type Options struct { CredentialFile string `json:"credential_file" yaml:"credential_file" mapstructure:"credential_file"` TokenFile string `json:"token_file" yaml:"token_file" mapstructure:"token_file"` DryMode bool `json:"dry_mode" yaml:"dry_mode" mapstructure:"dry_mode"` }
func DefaultOptions ¶
func DefaultOptions() *Options
Click to show internal directories.
Click to hide internal directories.