Documentation ¶
Index ¶
- func CreateTask(srv *tasks.Service, task *tasks.Task, tasklistID string) (*tasks.Task, error)
- func DeleteTask(srv *tasks.Service, id string, tid string) error
- func DeleteTaskList(srv *tasks.Service, tID string) error
- func GetService() *tasks.Service
- func GetTaskInfo(srv *tasks.Service, id string, taskID string) (*tasks.Task, error)
- func GetTaskLists(srv *tasks.Service) ([]tasks.TaskList, error)
- func GetTasks(srv *tasks.Service, id string, includeCompleted bool) ([]*tasks.Task, error)
- func Login(c *oauth2.Config) error
- func Logout() error
- func MakeMap(taskList []*tasks.Task) map[string]tasks.Task
- func UpdateTask(srv *tasks.Service, t *tasks.Task, tListID string) (*tasks.Task, error)
- func UpdateTaskList(srv *tasks.Service, tl *tasks.TaskList) (*tasks.TaskList, error)
- type TaskList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTask ¶
CreateTask used to create tasks
func DeleteTask ¶
DeleteTask used to delete a task
func DeleteTaskList ¶
func GetTaskInfo ¶
GetTaskInfo to get more info about a task
func GetTaskLists ¶
func GetTaskLists(srv *tasks.Service) ([]tasks.TaskList, error)
func UpdateTask ¶
UpdateTask used to update task data
func UpdateTaskList ¶
func UpdateTaskList(srv *tasks.Service, tl *tasks.TaskList) (*tasks.TaskList, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.