model

package
v0.0.0-...-33928b8 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewTask

type NewTask struct {
	TaskID   string     `json:"taskId"`
	Title    string     `json:"title"`
	Detail   *string    `json:"detail"`
	Done     bool       `json:"done"`
	Deadline *time.Time `json:"deadline"`
}

type SubTask

type SubTask struct {
	SubTaskID    string     `json:"subTaskId"`
	SubTaskLogID string     `json:"subTaskLogId"`
	Title        string     `json:"title"`
	Detail       *string    `json:"detail"`
	Done         bool       `json:"done"`
	Deadline     *time.Time `json:"deadline"`
}

type SyncTasks

type SyncTasks struct {
	NewTasks     []*NewTask     `json:"newTasks"`
	UpdatedTasks []*UpdatedTask `json:"updatedTasks"`
}

type Task

type Task struct {
	TaskID    string     `json:"taskId"`
	TaskLogID string     `json:"taskLogId"`
	Title     string     `json:"title"`
	Detail    *string    `json:"detail"`
	Done      bool       `json:"done"`
	Deadline  *time.Time `json:"deadline"`
}

type UpdatedTask

type UpdatedTask struct {
	TaskID   string     `json:"taskId"`
	Title    string     `json:"title"`
	Detail   *string    `json:"detail"`
	Done     bool       `json:"done"`
	Deadline *time.Time `json:"deadline"`
}

Jump to

Keyboard shortcuts

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