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_entity_todo_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 int64 `json:"id" db:"id"` // UserID describe the user id UserID int64 `json:"user_id" db:"user_id"` // ResultID describe the parent key result's id ResultID int64 `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"` // CreatedAt describe the task create milliseconds CreatedAt int64 `json:"created_at" db:"created_at"` }
Task declare a task basic information
Click to show internal directories.
Click to hide internal directories.