Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PushEvent ¶ added in v1.7.0
type PushEvent struct {
Ref string `json:"ref"`
Compare string `json:"compare"`
Commits []struct {
ID string `json:"id"`
Distinct bool `json:"distinct"`
Message string `json:"message"`
Committer struct {
Name string `json:"name"`
Email string `json:"email"`
Username string `json:"username"`
} `json:"committer"`
} `json:"commits"`
Repository struct {
FullName string `json:"full_name"`
Name string `json:"name"`
Owner struct {
Name string `json:"name"`
} `json:"owner"`
} `json:"repository"`
Pusher struct {
Name string `json:"name"`
Email string `json:"email"`
} `json:"pusher"`
}
type ReleaseEvent ¶ added in v1.7.0
type ReleaseEvent struct {
Action string `json:"action"`
Release struct {
HTMLURL string `json:"html_url"`
TagName string `json:"tag_name"`
Draft bool `json:"draft"`
} `json:"release"`
Repository struct {
FullName string `json:"full_name"`
Name string `json:"name"`
Owner struct {
Name string `json:"name"`
} `json:"owner"`
} `json:"repository"`
}
Click to show internal directories.
Click to hide internal directories.