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
b7028038
Commit
b7028038
authored
Sep 24, 2017
by
Sander van Harmelen
Committed by
GitHub
Sep 24, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #218 from Mingan/patch-1
Fix typo in MR options
parents
b3ac6922
5a63d82e
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 @
b7028038
...
...
@@ -333,8 +333,8 @@ func (s *MergeRequestsService) GetMergeRequestChanges(pid interface{}, mergeRequ
type
CreateMergeRequestOptions
struct
{
Title
*
string
`url:"title,omitempty" json:"title,omitempty"`
Description
*
string
`url:"description,omitempty" json:"description,omitempty"`
SourceBranch
*
string
`url:"source_branch,omitem
tpy" json:"source_branch,omitemtp
y"`
TargetBranch
*
string
`url:"target_branch,omitem
tpy" json:"target_branch,omitemtp
y"`
SourceBranch
*
string
`url:"source_branch,omitem
pty" json:"source_branch,omitempt
y"`
TargetBranch
*
string
`url:"target_branch,omitem
pty" json:"target_branch,omitempt
y"`
AssigneeID
*
int
`url:"assignee_id,omitempty" json:"assignee_id,omitempty"`
TargetProjectID
*
int
`url:"target_project_id,omitempty" json:"target_project_id,omitempty"`
}
...
...
@@ -372,7 +372,7 @@ func (s *MergeRequestsService) CreateMergeRequest(pid interface{}, opt *CreateMe
type
UpdateMergeRequestOptions
struct
{
Title
*
string
`url:"title,omitempty" json:"title,omitempty"`
Description
*
string
`url:"description,omitempty" json:"description,omitempty"`
TargetBranch
*
string
`url:"target_branch,omitem
tpy" json:"target_branch,omitemtp
y"`
TargetBranch
*
string
`url:"target_branch,omitem
pty" json:"target_branch,omitempt
y"`
AssigneeID
*
int
`url:"assignee_id,omitempty" json:"assignee_id,omitempty"`
Labels
Labels
`url:"labels,comma,omitempty" json:"labels,omitempty"`
MilestoneID
*
int
`url:"milestone_id,omitempty" json:"milestone_id,omitempty"`
...
...
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