Documentation ¶
Index ¶
- Constants
- func Init(cfg *QConfig) error
- func Time(timeString string) (time.Time, error)
- type QAuth
- type QConfig
- type QService
- type QTask
- func (task *QTask) Delete() error
- func (task *QTask) InitNewService(tokenString []byte) error
- func (task *QTask) Insert(tasklistid string) (*QTask, error)
- func (task *QTask) MoveToBeginning() (*QTask, error)
- func (task *QTask) MoveToParent(parent string) (*QTask, error)
- func (task *QTask) MoveToPrevious(previous string) (*QTask, error)
- func (task *QTask) Patch() (*QTask, error)
- func (task *QTask) Refresh() error
- func (task *QTask) Time() (time.Time, error)
- func (task *QTask) Update() (*QTask, error)
- type QTaskCallContext
- type QTaskList
- func (taskList *QTaskList) Delete() error
- func (taskList *QTaskList) InitNewService(tokenString []byte) error
- func (taskList *QTaskList) Patch() (*QTaskList, error)
- func (taskList *QTaskList) Refresh() error
- func (taskList *QTaskList) Time() (time.Time, error)
- func (taskList *QTaskList) Update() (*QTaskList, error)
- type QTaskLists
- type QTasklistsDeleteCall
- type QTasklistsGetCall
- func (call *QTasklistsGetCall) Context(ctx context.Context) *QTasklistsGetCall
- func (call *QTasklistsGetCall) Do(opts ...googleapi.CallOption) (*QTaskList, error)
- func (call *QTasklistsGetCall) Fields(s ...googleapi.Field) *QTasklistsGetCall
- func (call *QTasklistsGetCall) IfNoneMatch(entityTag string) *QTasklistsGetCall
- type QTasklistsInsertCall
- type QTasklistsListCall
- func (call *QTasklistsListCall) Context(ctx context.Context) *QTasklistsListCall
- func (call *QTasklistsListCall) Do(opts ...googleapi.CallOption) (*QTaskLists, error)
- func (call *QTasklistsListCall) Fields(s ...googleapi.Field) *QTasklistsListCall
- func (call *QTasklistsListCall) IfNoneMatch(entityTag string) *QTasklistsListCall
- func (call *QTasklistsListCall) MaxResults(maxResults int64) *QTasklistsListCall
- func (call *QTasklistsListCall) PageToken(pageToken string) *QTasklistsListCall
- type QTasklistsPatchCall
- type QTasklistsService
- func (lists *QTasklistsService) Delete(tasklistid string) *QTasklistsDeleteCall
- func (lists *QTasklistsService) Get(tasklistid string) *QTasklistsGetCall
- func (lists *QTasklistsService) Insert(tasklist *QTaskList) *QTasklistsInsertCall
- func (lists *QTasklistsService) List() *QTasklistsListCall
- func (lists *QTasklistsService) Patch(tasklistid string, tasklist *QTaskList) *QTasklistsPatchCall
- func (lists *QTasklistsService) Update(taskslistid string, tasklist *QTaskList) *QTasklistsUpdateCall
- type QTasklistsUpdateCall
- type QTasks
- type QTasksClearCall
- type QTasksDeleteCall
- type QTasksGetCall
- type QTasksInsertCall
- func (call *QTasksInsertCall) Context(ctx context.Context) *QTasksInsertCall
- func (call *QTasksInsertCall) Do(opts ...googleapi.CallOption) (*QTask, error)
- func (call *QTasksInsertCall) Fields(s ...googleapi.Field) *QTasksInsertCall
- func (call *QTasksInsertCall) Parent(parent string) *QTasksInsertCall
- func (call *QTasksInsertCall) Previous(previous string) *QTasksInsertCall
- type QTasksListCall
- func (call *QTasksListCall) CompletedMax(completedMax string) *QTasksListCall
- func (call *QTasksListCall) CompletedMin(completedMin string) *QTasksListCall
- func (call *QTasksListCall) Context(ctx context.Context) *QTasksListCall
- func (call *QTasksListCall) Do(opts ...googleapi.CallOption) (*QTasks, error)
- func (call *QTasksListCall) DueMax(dueMax string) *QTasksListCall
- func (call *QTasksListCall) DueMin(dueMin string) *QTasksListCall
- func (call *QTasksListCall) Fields(s ...googleapi.Field) *QTasksListCall
- func (call *QTasksListCall) Filter(filter string) *QTasksListCall
- func (call *QTasksListCall) IfNoneMatch(entityTag string) *QTasksListCall
- func (call *QTasksListCall) MaxResults(maxResults int64) *QTasksListCall
- func (call *QTasksListCall) PageToken(pageToken string) *QTasksListCall
- func (call *QTasksListCall) ShowCompleted(showCompleted bool) *QTasksListCall
- func (call *QTasksListCall) ShowDeleted(showDeleted bool) *QTasksListCall
- func (call *QTasksListCall) ShowHidden(showHidden bool) *QTasksListCall
- func (call *QTasksListCall) Sort(sort string) *QTasksListCall
- func (call *QTasksListCall) UpdateMin(updatedMin string) *QTasksListCall
- type QTasksMoveCall
- func (call *QTasksMoveCall) Context(ctx context.Context) *QTasksMoveCall
- func (call *QTasksMoveCall) Do(opts ...googleapi.CallOption) (*QTask, error)
- func (call *QTasksMoveCall) Fields(s ...googleapi.Field) *QTasksMoveCall
- func (call *QTasksMoveCall) Parent(parent string) *QTasksMoveCall
- func (call *QTasksMoveCall) Previous(previous string) *QTasksMoveCall
- type QTasksPatchCall
- type QTasksService
- func (tasks *QTasksService) Clear(tasklistid string) *QTasksClearCall
- func (tasks *QTasksService) Delete(tasklistid string, taskid string) *QTasksDeleteCall
- func (tasks *QTasksService) Get(tasklistid string, taskid string) *QTasksGetCall
- func (tasks *QTasksService) Insert(tasklistid string, task *QTask) *QTasksInsertCall
- func (tasks *QTasksService) List(tasklistid string) *QTasksListCall
- func (tasks *QTasksService) Move(tasklistid string, taskid string) *QTasksMoveCall
- func (tasks *QTasksService) Patch(tasklistid string, taskid string, task *QTask) *QTasksPatchCall
- func (tasks *QTasksService) Update(tasklistid string, taskid string, task *QTask) *QTasksUpdateCall
- type QTasksUpdateCall
Constants ¶
View Source
const ( QCompletedFilter = "filter.completed" QNeedsActionFilter = "filter.needs_action" QOverdueFilter = "filter.overdue" QPositionSort = "sort.position" QLatestFirstSort = "sort.latest_first" QOldestFirstSort = "sort.oldest_first" )
View Source
const ( QTasksReadOnlyScope = tasks.TasksReadonlyScope QTasksReadWriteScope = tasks.TasksScope )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type QAuth ¶
type QAuth struct {
// contains filtered or unexported fields
}
var Auth QAuth
func (*QAuth) GetAuthCodeURL ¶
type QService ¶
type QService struct { *tasks.Service Tasklists *QTasklistsService Tasks *QTasksService }
func NewService ¶
type QTask ¶
type QTask struct { *tasks.Task Children []*QTask // contains filtered or unexported fields }
func (*QTask) InitNewService ¶
func (*QTask) MoveToBeginning ¶
type QTaskCallContext ¶
type QTaskCallContext struct {
// contains filtered or unexported fields
}
type QTaskList ¶
type QTaskList struct { *tasks.TaskList // contains filtered or unexported fields }
func (*QTaskList) InitNewService ¶
type QTaskLists ¶
type QTaskLists struct { *tasks.TaskLists Items []*QTaskList // contains filtered or unexported fields }
func (*QTaskLists) InitNewService ¶
func (taskLists *QTaskLists) InitNewService(tokenString []byte) error
func (*QTaskLists) Refresh ¶
func (taskLists *QTaskLists) Refresh() error
type QTasklistsDeleteCall ¶
type QTasklistsDeleteCall struct { *tasks.TasklistsDeleteCall // contains filtered or unexported fields }
func (*QTasklistsDeleteCall) Context ¶
func (call *QTasklistsDeleteCall) Context(ctx context.Context) *QTasklistsDeleteCall
func (*QTasklistsDeleteCall) Do ¶
func (call *QTasklistsDeleteCall) Do(opts ...googleapi.CallOption) error
func (*QTasklistsDeleteCall) Fields ¶
func (call *QTasklistsDeleteCall) Fields(s ...googleapi.Field) *QTasklistsDeleteCall
type QTasklistsGetCall ¶
type QTasklistsGetCall struct { *tasks.TasklistsGetCall // contains filtered or unexported fields }
func (*QTasklistsGetCall) Context ¶
func (call *QTasklistsGetCall) Context(ctx context.Context) *QTasklistsGetCall
func (*QTasklistsGetCall) Do ¶
func (call *QTasklistsGetCall) Do(opts ...googleapi.CallOption) (*QTaskList, error)
func (*QTasklistsGetCall) Fields ¶
func (call *QTasklistsGetCall) Fields(s ...googleapi.Field) *QTasklistsGetCall
func (*QTasklistsGetCall) IfNoneMatch ¶
func (call *QTasklistsGetCall) IfNoneMatch(entityTag string) *QTasklistsGetCall
type QTasklistsInsertCall ¶
type QTasklistsInsertCall struct { *tasks.TasklistsInsertCall // contains filtered or unexported fields }
func (*QTasklistsInsertCall) Context ¶
func (call *QTasklistsInsertCall) Context(ctx context.Context) *QTasklistsInsertCall
func (*QTasklistsInsertCall) Do ¶
func (call *QTasklistsInsertCall) Do(opts ...googleapi.CallOption) (*QTaskList, error)
func (*QTasklistsInsertCall) Fields ¶
func (call *QTasklistsInsertCall) Fields(s ...googleapi.Field) *QTasklistsInsertCall
type QTasklistsListCall ¶
type QTasklistsListCall struct { *tasks.TasklistsListCall // contains filtered or unexported fields }
func (*QTasklistsListCall) Context ¶
func (call *QTasklistsListCall) Context(ctx context.Context) *QTasklistsListCall
func (*QTasklistsListCall) Do ¶
func (call *QTasklistsListCall) Do(opts ...googleapi.CallOption) (*QTaskLists, error)
func (*QTasklistsListCall) Fields ¶
func (call *QTasklistsListCall) Fields(s ...googleapi.Field) *QTasklistsListCall
func (*QTasklistsListCall) IfNoneMatch ¶
func (call *QTasklistsListCall) IfNoneMatch(entityTag string) *QTasklistsListCall
func (*QTasklistsListCall) MaxResults ¶
func (call *QTasklistsListCall) MaxResults(maxResults int64) *QTasklistsListCall
func (*QTasklistsListCall) PageToken ¶
func (call *QTasklistsListCall) PageToken(pageToken string) *QTasklistsListCall
type QTasklistsPatchCall ¶
type QTasklistsPatchCall struct { *tasks.TasklistsPatchCall // contains filtered or unexported fields }
func (*QTasklistsPatchCall) Context ¶
func (call *QTasklistsPatchCall) Context(ctx context.Context) *QTasklistsPatchCall
func (*QTasklistsPatchCall) Do ¶
func (call *QTasklistsPatchCall) Do(opts ...googleapi.CallOption) (*QTaskList, error)
func (*QTasklistsPatchCall) Fields ¶
func (call *QTasklistsPatchCall) Fields(s ...googleapi.Field) *QTasklistsPatchCall
type QTasklistsService ¶
type QTasklistsService struct{ *tasks.TasklistsService }
func (*QTasklistsService) Delete ¶
func (lists *QTasklistsService) Delete(tasklistid string) *QTasklistsDeleteCall
func (*QTasklistsService) Get ¶
func (lists *QTasklistsService) Get(tasklistid string) *QTasklistsGetCall
func (*QTasklistsService) Insert ¶
func (lists *QTasklistsService) Insert(tasklist *QTaskList) *QTasklistsInsertCall
func (*QTasklistsService) List ¶
func (lists *QTasklistsService) List() *QTasklistsListCall
func (*QTasklistsService) Patch ¶
func (lists *QTasklistsService) Patch(tasklistid string, tasklist *QTaskList) *QTasklistsPatchCall
func (*QTasklistsService) Update ¶
func (lists *QTasklistsService) Update(taskslistid string, tasklist *QTaskList) *QTasklistsUpdateCall
type QTasklistsUpdateCall ¶
type QTasklistsUpdateCall struct { *tasks.TasklistsUpdateCall // contains filtered or unexported fields }
func (*QTasklistsUpdateCall) Context ¶
func (call *QTasklistsUpdateCall) Context(ctx context.Context) *QTasklistsUpdateCall
func (*QTasklistsUpdateCall) Do ¶
func (call *QTasklistsUpdateCall) Do(opts ...googleapi.CallOption) (*QTaskList, error)
func (*QTasklistsUpdateCall) Fields ¶
func (call *QTasklistsUpdateCall) Fields(s ...googleapi.Field) *QTasklistsUpdateCall
type QTasks ¶
type QTasks struct { *tasks.Tasks Items []*QTask // contains filtered or unexported fields }
func (*QTasks) InitNewService ¶
type QTasksClearCall ¶
type QTasksClearCall struct { *tasks.TasksClearCall // contains filtered or unexported fields }
func (*QTasksClearCall) Context ¶
func (call *QTasksClearCall) Context(ctx context.Context) *QTasksClearCall
func (*QTasksClearCall) Do ¶
func (call *QTasksClearCall) Do(opts ...googleapi.CallOption) error
func (*QTasksClearCall) Fields ¶
func (call *QTasksClearCall) Fields(s ...googleapi.Field) *QTasksClearCall
type QTasksDeleteCall ¶
type QTasksDeleteCall struct { *tasks.TasksDeleteCall // contains filtered or unexported fields }
func (*QTasksDeleteCall) Context ¶
func (call *QTasksDeleteCall) Context(ctx context.Context) *QTasksDeleteCall
func (*QTasksDeleteCall) Do ¶
func (call *QTasksDeleteCall) Do(opts ...googleapi.CallOption) error
func (*QTasksDeleteCall) Fields ¶
func (call *QTasksDeleteCall) Fields(s ...googleapi.Field) *QTasksDeleteCall
type QTasksGetCall ¶
type QTasksGetCall struct { *tasks.TasksGetCall // contains filtered or unexported fields }
func (*QTasksGetCall) Context ¶
func (call *QTasksGetCall) Context(ctx context.Context) *QTasksGetCall
func (*QTasksGetCall) Do ¶
func (call *QTasksGetCall) Do(opts ...googleapi.CallOption) (*QTask, error)
func (*QTasksGetCall) Fields ¶
func (call *QTasksGetCall) Fields(s ...googleapi.Field) *QTasksGetCall
func (*QTasksGetCall) IfNoneMatch ¶
func (call *QTasksGetCall) IfNoneMatch(entityTag string) *QTasksGetCall
type QTasksInsertCall ¶
type QTasksInsertCall struct { *tasks.TasksInsertCall // contains filtered or unexported fields }
func (*QTasksInsertCall) Context ¶
func (call *QTasksInsertCall) Context(ctx context.Context) *QTasksInsertCall
func (*QTasksInsertCall) Do ¶
func (call *QTasksInsertCall) Do(opts ...googleapi.CallOption) (*QTask, error)
func (*QTasksInsertCall) Fields ¶
func (call *QTasksInsertCall) Fields(s ...googleapi.Field) *QTasksInsertCall
func (*QTasksInsertCall) Parent ¶
func (call *QTasksInsertCall) Parent(parent string) *QTasksInsertCall
func (*QTasksInsertCall) Previous ¶
func (call *QTasksInsertCall) Previous(previous string) *QTasksInsertCall
type QTasksListCall ¶
type QTasksListCall struct { *tasks.TasksListCall // contains filtered or unexported fields }
func (*QTasksListCall) CompletedMax ¶
func (call *QTasksListCall) CompletedMax(completedMax string) *QTasksListCall
func (*QTasksListCall) CompletedMin ¶
func (call *QTasksListCall) CompletedMin(completedMin string) *QTasksListCall
func (*QTasksListCall) Context ¶
func (call *QTasksListCall) Context(ctx context.Context) *QTasksListCall
func (*QTasksListCall) Do ¶
func (call *QTasksListCall) Do(opts ...googleapi.CallOption) (*QTasks, error)
TODO: Filter for deleted tasks
func (*QTasksListCall) DueMax ¶
func (call *QTasksListCall) DueMax(dueMax string) *QTasksListCall
func (*QTasksListCall) DueMin ¶
func (call *QTasksListCall) DueMin(dueMin string) *QTasksListCall
func (*QTasksListCall) Fields ¶
func (call *QTasksListCall) Fields(s ...googleapi.Field) *QTasksListCall
func (*QTasksListCall) Filter ¶
func (call *QTasksListCall) Filter(filter string) *QTasksListCall
func (*QTasksListCall) IfNoneMatch ¶
func (call *QTasksListCall) IfNoneMatch(entityTag string) *QTasksListCall
func (*QTasksListCall) MaxResults ¶
func (call *QTasksListCall) MaxResults(maxResults int64) *QTasksListCall
func (*QTasksListCall) PageToken ¶
func (call *QTasksListCall) PageToken(pageToken string) *QTasksListCall
func (*QTasksListCall) ShowCompleted ¶
func (call *QTasksListCall) ShowCompleted(showCompleted bool) *QTasksListCall
func (*QTasksListCall) ShowDeleted ¶
func (call *QTasksListCall) ShowDeleted(showDeleted bool) *QTasksListCall
func (*QTasksListCall) ShowHidden ¶
func (call *QTasksListCall) ShowHidden(showHidden bool) *QTasksListCall
func (*QTasksListCall) Sort ¶
func (call *QTasksListCall) Sort(sort string) *QTasksListCall
func (*QTasksListCall) UpdateMin ¶
func (call *QTasksListCall) UpdateMin(updatedMin string) *QTasksListCall
type QTasksMoveCall ¶
type QTasksMoveCall struct { *tasks.TasksMoveCall // contains filtered or unexported fields }
func (*QTasksMoveCall) Context ¶
func (call *QTasksMoveCall) Context(ctx context.Context) *QTasksMoveCall
func (*QTasksMoveCall) Do ¶
func (call *QTasksMoveCall) Do(opts ...googleapi.CallOption) (*QTask, error)
func (*QTasksMoveCall) Fields ¶
func (call *QTasksMoveCall) Fields(s ...googleapi.Field) *QTasksMoveCall
func (*QTasksMoveCall) Parent ¶
func (call *QTasksMoveCall) Parent(parent string) *QTasksMoveCall
func (*QTasksMoveCall) Previous ¶
func (call *QTasksMoveCall) Previous(previous string) *QTasksMoveCall
type QTasksPatchCall ¶
type QTasksPatchCall struct { *tasks.TasksPatchCall // contains filtered or unexported fields }
func (*QTasksPatchCall) Context ¶
func (call *QTasksPatchCall) Context(ctx context.Context) *QTasksPatchCall
func (*QTasksPatchCall) Do ¶
func (call *QTasksPatchCall) Do(opts ...googleapi.CallOption) (*QTask, error)
func (*QTasksPatchCall) Fields ¶
func (call *QTasksPatchCall) Fields(s ...googleapi.Field) *QTasksPatchCall
type QTasksService ¶
type QTasksService struct{ *tasks.TasksService }
func (*QTasksService) Clear ¶
func (tasks *QTasksService) Clear(tasklistid string) *QTasksClearCall
func (*QTasksService) Delete ¶
func (tasks *QTasksService) Delete(tasklistid string, taskid string) *QTasksDeleteCall
func (*QTasksService) Get ¶
func (tasks *QTasksService) Get(tasklistid string, taskid string) *QTasksGetCall
func (*QTasksService) Insert ¶
func (tasks *QTasksService) Insert(tasklistid string, task *QTask) *QTasksInsertCall
func (*QTasksService) List ¶
func (tasks *QTasksService) List(tasklistid string) *QTasksListCall
func (*QTasksService) Move ¶
func (tasks *QTasksService) Move(tasklistid string, taskid string) *QTasksMoveCall
func (*QTasksService) Patch ¶
func (tasks *QTasksService) Patch(tasklistid string, taskid string, task *QTask) *QTasksPatchCall
func (*QTasksService) Update ¶
func (tasks *QTasksService) Update(tasklistid string, taskid string, task *QTask) *QTasksUpdateCall
type QTasksUpdateCall ¶
type QTasksUpdateCall struct { *tasks.TasksUpdateCall // contains filtered or unexported fields }
func (*QTasksUpdateCall) Context ¶
func (call *QTasksUpdateCall) Context(ctx context.Context) *QTasksUpdateCall
func (*QTasksUpdateCall) Do ¶
func (call *QTasksUpdateCall) Do(opts ...googleapi.CallOption) (*QTask, error)
func (*QTasksUpdateCall) Fields ¶
func (call *QTasksUpdateCall) Fields(s ...googleapi.Field) *QTasksUpdateCall
Click to show internal directories.
Click to hide internal directories.