gcal

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Calendar

type Calendar struct {
	Id      string
	Service *calendar.Service
}

func (*Calendar) AddPendingEvent

func (c *Calendar) AddPendingEvent() (*calendar.Event, error)

func (*Calendar) AddTotalWorkingEvent

func (c *Calendar) AddTotalWorkingEvent() (*calendar.Event, error)

func (*Calendar) GetTodayEvents

func (c *Calendar) GetTodayEvents(onlySingleEvent bool) (*calendar.Events, error)

func (*Calendar) GetTodayPendingEvent

func (c *Calendar) GetTodayPendingEvent(events *calendar.Events) (*calendar.Event, error)

func (*Calendar) GetTodayTotalWorkingEvent

func (c *Calendar) GetTodayTotalWorkingEvent(events *calendar.Events) (*calendar.Event, error)

func (*Calendar) GetTotalWorkingHoursProperty

func (_ *Calendar) GetTotalWorkingHoursProperty(event *calendar.Event) string

func (*Calendar) GetWorkingHoursProperty

func (_ *Calendar) GetWorkingHoursProperty(event *calendar.Event) string

func (*Calendar) Initialize

func (c *Calendar) Initialize()

func (*Calendar) UpdatePendingEvent

func (c *Calendar) UpdatePendingEvent(event *calendar.Event) (*calendar.Event, error)

func (*Calendar) UpdateTotalWorkingEvent

func (c *Calendar) UpdateTotalWorkingEvent(
	totalWorkingEvent *calendar.Event,
	workingEvents *calendar.Events,
) (*calendar.Event, error)

Jump to

Keyboard shortcuts

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