Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Status_name = map[int32]string{ 0: "BACKLOG", 1: "TODO", 2: "INPROGRESS", 3: "DONE", } Status_value = map[string]int32{ "BACKLOG": 0, "TODO": 1, "INPROGRESS": 2, "DONE": 3, } )
Enum value maps for Status.
View Source
var File_internal_pkg_pb_task_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Status ¶
type Status int32
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type Task ¶
type Task struct { // ID describe the unique identify code of task ID string `json:"id" db:"id"` // ResultID describe the parent key result's id ResultID string `json:"result_id" db:"result_id"` // Title describe the title of task Title string `json:"title" db:"title"` // Status describe the status of task Status Status `json:"status" db:"status"` // Completed describe the completed of task Completed bool `json:"completed" db:"completed"` // CreateAt describe the task create milliseconds CreateAt int64 `json:"create_at" db:"create_at"` }
Task declare a task basic information
Click to show internal directories.
Click to hide internal directories.