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
642cbc29
Commit
642cbc29
authored
Aug 19, 2019
by
Alex Kalderimis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Be consistent in use of pointers
parent
03db79e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
merge_requests.go
merge_requests.go
+3
-3
No files found.
merge_requests.go
View file @
642cbc29
...
...
@@ -45,9 +45,9 @@ type MergeRequest struct {
UpdatedAt
*
time
.
Time
`json:"updated_at"`
Upvotes
int
`json:"upvotes"`
Downvotes
int
`json:"downvotes"`
Author
MergeRequestUser
`json:"author"`
Author
*
MergeRequestUser
`json:"author"`
Assignee
*
MergeRequestUser
`json:"assignee"`
Assignees
*
[]
MergeRequestUser
`json:"assignees"`
Assignees
[]
*
MergeRequestUser
`json:"assignees"`
SourceProjectID
int
`json:"source_project_id"`
TargetProjectID
int
`json:"target_project_id"`
Labels
[]
string
`json:"labels"`
...
...
@@ -92,7 +92,7 @@ type MergeRequest struct {
DivergedCommitsCount
int
`json:"diverged_commits_count"`
RebaseInProgress
bool
`json:"rebase_in_progress"`
ApprovalsBeforeMerge
int
`json:"approvals_before_merge"`
Reference
string
`json:"reference"`
// eg: "!14656"
Reference
string
`json:"reference"`
}
// MergeRequestUser represents a GitLab User record within a MergeRequest
...
...
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