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
7c28a6b8
Commit
7c28a6b8
authored
Nov 17, 2017
by
Sander van Harmelen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure we use `IID` instead of `Iid` consistenly
Thanks @lkysow for spotting these!
parent
ee48e93a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
events.go
events.go
+2
-2
milestones.go
milestones.go
+1
-1
No files found.
events.go
View file @
7c28a6b8
...
...
@@ -126,7 +126,7 @@ type IssueEvent struct {
Description
string
`json:"description"`
MilestoneID
int
`json:"milestone_id"`
State
string
`json:"state"`
I
id
int
`json:"iid"`
I
ID
int
`json:"iid"`
URL
string
`json:"url"`
Action
string
`json:"action"`
}
`json:"object_attributes"`
...
...
@@ -406,7 +406,7 @@ type MergeEvent struct {
State
string
`json:"state"`
MergeStatus
string
`json:"merge_status"`
TargetProjectID
int
`json:"target_project_id"`
I
id
int
`json:"iid"`
I
ID
int
`json:"iid"`
Description
string
`json:"description"`
Position
int
`json:"position"`
LockedAt
string
`json:"locked_at"`
...
...
milestones.go
View file @
7c28a6b8
...
...
@@ -35,7 +35,7 @@ type MilestonesService struct {
// GitLab API docs: https://docs.gitlab.com/ce/api/milestones.html
type
Milestone
struct
{
ID
int
`json:"id"`
I
id
int
`json:"iid"`
I
ID
int
`json:"iid"`
ProjectID
int
`json:"project_id"`
Title
string
`json:"title"`
Description
string
`json:"description"`
...
...
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