Versions in this module Expand all Collapse all v0 v0.0.2 Jun 9, 2016 Changes in this version + type Gocal interface + GetEventsList func(string, string) (*calendar.Events, error) + InsertEvent func(Event) error + InsertEvents func([]Event) type GocalClient + func (gc GocalClient) InsertEvents(events []Event) v0.0.1 Jun 7, 2016 Changes in this version + type Config struct + CalendarID string + Credential string + func LoadConfig(fp string) (Config, error) + type Event struct + Detail string + EndTime string + StartTime string + Title string + type GocalClient struct + Conf Config + Srv *calendar.Service + func NewCalendarClient(c Config, scope string) (*GocalClient, error) + func (gc GocalClient) GetEventsList(startTime string, endTime string) (*calendar.Events, error) + func (gc GocalClient) InsertEvent(event Event) error