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
eb6ccd3e
Unverified
Commit
eb6ccd3e
authored
Oct 26, 2018
by
Sander van Harmelen
Committed by
GitHub
Oct 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the Issue struct (#503)
It seems some fields were outdated/wrong. Fixes #502
parent
22744b36
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
issues.go
issues.go
+11
-11
No files found.
issues.go
View file @
eb6ccd3e
...
@@ -43,29 +43,29 @@ type Issue struct {
...
@@ -43,29 +43,29 @@ type Issue struct {
Milestone
*
Milestone
`json:"milestone"`
Milestone
*
Milestone
`json:"milestone"`
Author
struct
{
Author
struct
{
ID
int
`json:"id"`
ID
int
`json:"id"`
Username
string
`json:"username"`
Email
string
`json:"email"`
Name
string
`json:"name"`
State
string
`json:"state"`
State
string
`json:"state"`
CreatedAt
*
time
.
Time
`json:"created_at"`
WebURL
string
`json:"web_url"`
Name
string
`json:"name"`
AvatarURL
string
`json:"avatar_url"`
Username
string
`json:"username"`
}
`json:"author"`
}
`json:"author"`
Description
string
`json:"description"`
Description
string
`json:"description"`
State
string
`json:"state"`
State
string
`json:"state"`
Assignees
[]
struct
{
Assignees
[]
struct
{
ID
int
`json:"id"`
ID
int
`json:"id"`
Username
string
`json:"username"`
Email
string
`json:"email"`
Name
string
`json:"name"`
State
string
`json:"state"`
State
string
`json:"state"`
CreatedAt
*
time
.
Time
`json:"created_at"`
WebURL
string
`json:"web_url"`
Name
string
`json:"name"`
AvatarURL
string
`json:"avatar_url"`
Username
string
`json:"username"`
}
`json:"assignees"`
}
`json:"assignees"`
Assignee
struct
{
Assignee
struct
{
ID
int
`json:"id"`
ID
int
`json:"id"`
Name
string
`json:"name"`
Username
string
`json:"username"`
State
string
`json:"state"`
State
string
`json:"state"`
AvatarURL
string
`json:"avatar_url"`
WebURL
string
`json:"web_url"`
WebURL
string
`json:"web_url"`
Name
string
`json:"name"`
AvatarURL
string
`json:"avatar_url"`
Username
string
`json:"username"`
}
`json:"assignee"`
}
`json:"assignee"`
Upvotes
int
`json:"upvotes"`
Upvotes
int
`json:"upvotes"`
Downvotes
int
`json:"downvotes"`
Downvotes
int
`json:"downvotes"`
...
...
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