Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
go-gitlab
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
go-gitlab
Commits
969aa6e7
Commit
969aa6e7
authored
Feb 03, 2017
by
Sander van Harmelen
Committed by
GitHub
Feb 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a linting error and update ordering (#120)
parent
3acf8d75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
time_stats.go
time_stats.go
+3
-3
No files found.
time_stats.go
View file @
969aa6e7
...
...
@@ -14,14 +14,14 @@ type TimeStatsService struct {
client
*
Client
}
// Times represents the time estimates and time spent for an issue.
// Time
Stat
s represents the time estimates and time spent for an issue.
//
// GitLab API docs: https://docs.gitlab.com/ce/api/issues.html
type
TimeStats
struct
{
TimeEstimate
int
`json:"time_estimate"`
TotalTimeSpent
int
`json:"total_time_spent"`
HumanTimeEstimate
string
`json:"human_time_estimate"`
HumanTotalTimeSpent
string
`json:"human_total_time_spent"`
TimeEstimate
int
`json:"time_estimate"`
TotalTimeSpent
int
`json:"total_time_spent"`
}
func
(
t
TimeStats
)
String
()
string
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment