Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Goal ¶
type Goal struct { // ID describe the unique identify code of objective ID int64 `json:"id" db:"id"` // UserID describe the user id UserID int64 `json:"user_id" db:"user_id"` // Title describe the title of objective Title string `json:"title" db:"title"` // StartAt describe the objective start timex milliseconds StartAt int64 `json:"start_at" db:"start_at"` // EndAt describe the objective end timex milliseconds EndAt int64 `json:"end_at" db:"end_at"` // CreatedAt describe the objective create milliseconds CreatedAt int64 `json:"created_at" db:"created_at"` }
Goal declare an objective basic information
type Result ¶
type Result struct { // ID describe the unique identify code of key result ID int64 `json:"id" db:"id"` // UserID describe the user id UserID int64 `json:"user_id" db:"user_id"` // GoalID describe the parent goal's id GoalID int64 `json:"goal_id" db:"goal_id"` // Title describe the title of key result Title string `json:"title" db:"title"` // Target describe the target of key result Target int `json:"target" db:"target"` // Actual describe the actual of key result Actual int `json:"actual" db:"actual"` // Progress describe the progress of key result Progress int `json:"-" db:"-"` // CreatedAt describe the key result create milliseconds CreatedAt int64 `json:"created_at" db:"created_at"` }
Result declare a key result basic information
Click to show internal directories.
Click to hide internal directories.