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
f05516d0
Unverified
Commit
f05516d0
authored
Jun 05, 2019
by
Sander van Harmelen
Committed by
GitHub
Jun 05, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #633 from sue445/merge_request_attributes
Add AvatarURL and WebURL to MergeRequest resource
parents
9d665abb
62d7cf5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
merge_requests.go
merge_requests.go
+8
-0
No files found.
merge_requests.go
View file @
f05516d0
...
@@ -51,6 +51,8 @@ type MergeRequest struct {
...
@@ -51,6 +51,8 @@ type MergeRequest struct {
Name
string
`json:"name"`
Name
string
`json:"name"`
State
string
`json:"state"`
State
string
`json:"state"`
CreatedAt
*
time
.
Time
`json:"created_at"`
CreatedAt
*
time
.
Time
`json:"created_at"`
AvatarURL
string
`json:"avatar_url"`
WebURL
string
`json:"web_url"`
}
`json:"author"`
}
`json:"author"`
Assignee
struct
{
Assignee
struct
{
ID
int
`json:"id"`
ID
int
`json:"id"`
...
@@ -58,6 +60,8 @@ type MergeRequest struct {
...
@@ -58,6 +60,8 @@ type MergeRequest struct {
Name
string
`json:"name"`
Name
string
`json:"name"`
State
string
`json:"state"`
State
string
`json:"state"`
CreatedAt
*
time
.
Time
`json:"created_at"`
CreatedAt
*
time
.
Time
`json:"created_at"`
AvatarURL
string
`json:"avatar_url"`
WebURL
string
`json:"web_url"`
}
`json:"assignee"`
}
`json:"assignee"`
SourceProjectID
int
`json:"source_project_id"`
SourceProjectID
int
`json:"source_project_id"`
TargetProjectID
int
`json:"target_project_id"`
TargetProjectID
int
`json:"target_project_id"`
...
@@ -73,6 +77,8 @@ type MergeRequest struct {
...
@@ -73,6 +77,8 @@ type MergeRequest struct {
Name
string
`json:"name"`
Name
string
`json:"name"`
State
string
`json:"state"`
State
string
`json:"state"`
CreatedAt
*
time
.
Time
`json:"created_at"`
CreatedAt
*
time
.
Time
`json:"created_at"`
AvatarURL
string
`json:"avatar_url"`
WebURL
string
`json:"web_url"`
}
`json:"merged_by"`
}
`json:"merged_by"`
MergedAt
*
time
.
Time
`json:"merged_at"`
MergedAt
*
time
.
Time
`json:"merged_at"`
ClosedBy
struct
{
ClosedBy
struct
{
...
@@ -81,6 +87,8 @@ type MergeRequest struct {
...
@@ -81,6 +87,8 @@ type MergeRequest struct {
Name
string
`json:"name"`
Name
string
`json:"name"`
State
string
`json:"state"`
State
string
`json:"state"`
CreatedAt
*
time
.
Time
`json:"created_at"`
CreatedAt
*
time
.
Time
`json:"created_at"`
AvatarURL
string
`json:"avatar_url"`
WebURL
string
`json:"web_url"`
}
`json:"closed_by"`
}
`json:"closed_by"`
ClosedAt
*
time
.
Time
`json:"closed_at"`
ClosedAt
*
time
.
Time
`json:"closed_at"`
Subscribed
bool
`json:"subscribed"`
Subscribed
bool
`json:"subscribed"`
...
...
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