package
Version:
v0.0.106
Opens a new window with list of versions in this module.
Published: Dec 5, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Author struct {
Email string `json:"email,omitempty"`
Name string `json:"name,omitempty"`
Username string `json:"username,omitempty"`
}
type Commit struct {
ID string `json:"id"`
Author Author `json:"author,omitempty"`
Message string `json:"message,omitempty"`
Timestamp string `json:"timestamp,omitempty"`
URL string `json:"url,omitempty"`
}
type PushEvent struct {
Commits []Commit `json:"commits,omitempty"`
HeadCommit Commit `json:"head_commit,omitempty"`
Repository Repository `json:"repository,omitempty"`
Compare string `json:"compare,omitempty"`
Pusher Pusher `json:"pusher,omitempty"`
Ref string `json:"ref"`
Sender User `json:"sender,omitempty"`
}
type Pusher struct {
Email string `json:"email"`
Username string `json:"name"`
}
type Repository struct {
FullName string `json:"full_name"`
}
type User struct {
ID int64 `json:"id"`
Login string `json:"login"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.