calendar

package module
v0.0.0-...-45ca66b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2020 License: MIT Imports: 11 Imported by: 0

README

The calendar package contains the interface to use a generic calendar and also implementations of the interface to integrate external calendars. Google Calendar is the first integration.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sync

func Sync(t time.Time) error

Types

type CalendarEvent

type CalendarEvent struct {
	// contains filtered or unexported fields
}

type CalendarGoogle

type CalendarGoogle struct {
	// contains filtered or unexported fields
}

func NewCalendarGoogle

func NewCalendarGoogle(credentialsFile string) (*CalendarGoogle, error)

type CalendarType

type CalendarType string
const (
	TypeGoogleCalendar CalendarType = "google_calendar"
)

type Fetcher

type Fetcher interface {
	// contains filtered or unexported methods
}

Calendar is an interface that allows interation with an external calendar (e.g. Google Calendar)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL