Documentation ¶
Index ¶
- func CreateEvent(srv *calendar.Service, calendarID string, summary string, description string, ...) (*calendar.Event, error)
- func CreateSheet(service *sheets.Service, document *sheets.Spreadsheet, sheetNo int, ...) (int64, error)
- func CreateSpreadSheet(srv *sheets.Service, documentName string) (*sheets.Spreadsheet, error)
- func DeleteEvent(srv *calendar.Service, calendarID string, eventID string) error
- func DeleteEvents(srv *calendar.Service, calendarID string, eventIDs []string) error
- func GetCalendarTimeZone(srv *calendar.Service, calendarID string) (*time.Location, error)
- func GetCalendars(srv *calendar.Service) ([]*calendar.CalendarListEntry, error)
- func GetCoordinatesFromStreetAddress(client *maps.Client, address string) (longitude float64, latitude float64, throwErr error)
- func GetEvents(srv *calendar.Service, calendarName string, startTime string, endTime string, ...) ([]*calendar.Event, error)
- func NewCalendarService(ctx context.Context, oauthConfig oauth2.Config, token oauth2.Token) (*calendar.Service, error)
- func NewMapClient(apiKey string) (*maps.Client, error)
- func NewSpreadsheetService(client *http.Client) (*sheets.Service, error)
- func PatchEventDates(srv *calendar.Service, calendarID string, eventID string, start string, ...) (*calendar.Event, error)
- func UpdateColumnHeaders(service *sheets.Service, document *sheets.Spreadsheet, sheetName string, ...) error
- func UpdateColumnStyles(service *sheets.Service, document *sheets.Spreadsheet, sheetId int64, ...) error
- func UpdateRows(service *sheets.Service, document *sheets.Spreadsheet, sheetName string, ...) error
- type ColumnFormatConfig
- type GoogleClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEvent ¶ added in v0.0.52
func CreateSheet ¶
func CreateSpreadSheet ¶
func DeleteEvent ¶ added in v0.0.53
func DeleteEvents ¶ added in v0.0.53
func GetCalendarTimeZone ¶ added in v0.0.54
/ GetCalendarTimeZone
func GetCalendars ¶ added in v0.0.51
func GetCalendars(srv *calendar.Service) ([]*calendar.CalendarListEntry, error)
func NewCalendarService ¶ added in v0.0.49
func NewSpreadsheetService ¶
func PatchEventDates ¶ added in v0.0.54
func UpdateColumnHeaders ¶
func UpdateColumnStyles ¶
func UpdateColumnStyles(service *sheets.Service, document *sheets.Spreadsheet, sheetId int64, columns []ColumnFormatConfig) error
func UpdateRows ¶
Types ¶
type ColumnFormatConfig ¶
type GoogleClient ¶ added in v0.0.38
func (*GoogleClient) GetToken ¶ added in v0.0.38
func (client *GoogleClient) GetToken() (*oauth2.Token, error)
func (*GoogleClient) NewHttpClient ¶ added in v0.0.38
func (client *GoogleClient) NewHttpClient() *http.Client
Click to show internal directories.
Click to hide internal directories.