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
5e291322
Commit
5e291322
authored
Nov 29, 2016
by
Sander van Harmelen
Committed by
GitHub
Nov 29, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix push event struct (#97)
parent
d0f1bcc2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
events.go
events.go
+16
-1
No files found.
events.go
View file @
5e291322
...
...
@@ -31,7 +31,22 @@ type PushEvent struct {
UserEmail
string
`json:"user_email"`
UserAvatar
string
`json:"user_avatar"`
ProjectID
int
`json:"project_id"`
Project
*
Project
`json:"project"`
Project
struct
{
Name
string
`json:"name"`
Description
string
`json:"description"`
AvatarURL
string
`json:"avatar_url"`
GitSSHURL
string
`json:"git_ssh_url"`
GitHTTPURL
string
`json:"git_http_url"`
Namespace
string
`json:"namespace"`
PathWithNamespace
string
`json:"path_with_namespace"`
DefaultBranch
string
`json:"default_branch"`
Homepage
string
`json:"homepage"`
URL
string
`json:"url"`
SSHURL
string
`json:"ssh_url"`
HTTPURL
string
`json:"http_url"`
WebURL
string
`json:"web_url"`
VisibilityLevel
VisibilityLevelValue
`json:"visibility_level"`
}
`json:"project"`
Repository
*
Repository
`json:"repository"`
Commits
[]
*
Commit
`json:"commits"`
TotalCommitsCount
int
`json:"total_commits_count"`
...
...
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