Commit 969aa6e7 authored by Sander van Harmelen's avatar Sander van Harmelen Committed by GitHub

Fix a linting error and update ordering (#120)

parent 3acf8d75
...@@ -14,14 +14,14 @@ type TimeStatsService struct { ...@@ -14,14 +14,14 @@ type TimeStatsService struct {
client *Client client *Client
} }
// Times represents the time estimates and time spent for an issue. // TimeStats represents the time estimates and time spent for an issue.
// //
// GitLab API docs: https://docs.gitlab.com/ce/api/issues.html // GitLab API docs: https://docs.gitlab.com/ce/api/issues.html
type TimeStats struct { type TimeStats struct {
TimeEstimate int `json:"time_estimate"`
TotalTimeSpent int `json:"total_time_spent"`
HumanTimeEstimate string `json:"human_time_estimate"` HumanTimeEstimate string `json:"human_time_estimate"`
HumanTotalTimeSpent string `json:"human_total_time_spent"` HumanTotalTimeSpent string `json:"human_total_time_spent"`
TimeEstimate int `json:"time_estimate"`
TotalTimeSpent int `json:"total_time_spent"`
} }
func (t TimeStats) String() string { func (t TimeStats) String() string {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment