Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Author ¶
type Author struct {
Name string `json:"name,omitempty"`
Email string `json:"email,omitempty"`
Username string `json:"username,omitempty"`
}
func (Author) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Author) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Author) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Author) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Commit ¶
type Commit struct {
ID string `json:"id,omitempty"`
TreeID string `json:"tree_id,omitempty"`
Distinct bool `json:"distinct,omitempty"`
Message string `json:"message,omitempty"`
Timestamp time.Time `json:"timestamp,omitempty"`
URL string `json:"url,omitempty"`
Author Author `json:"author,omitempty"`
Committer Author `json:"committer,omitempty"`
Added []string `json:"added,omitempty"`
Removed []string `json:"removed,omitempty"`
Modified []string `json:"modified,omitempty"`
}
func (Commit) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Commit) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Commit) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Commit) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Owner ¶
type Owner struct {
Name string `json:"name,omitempty"`
Email string `json:"email,omitempty"`
Login string `json:"login,omitempty"`
ID int64 `json:"id,omitempty"`
NodeID string `json:"node_id,omitempty"`
Type string `json:"type,omitempty"`
}
func (Owner) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Owner) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Owner) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Owner) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type PushEvent ¶
type PushEvent struct {
Ref string `json:"ref,omitempty"`
Before string `json:"before,omitempty"`
After string `json:"after,omitempty"`
Created bool `json:"created,omitempty"`
Deleted bool `json:"deleted,omitempty"`
Forced bool `json:"forced,omitempty"`
BaseRef *string `json:"base_ref,omitempty"`
Compare string `json:"compare,omitempty"`
Repository Repository `json:"repository,omitempty"`
Pusher Pusher `json:"pusher,omitempty"`
Sender Sender `json:"sender,omitempty"`
Commits []Commit `json:"commits,omitempty"`
HeadCommit Commit `json:"head_commit,omitempty"`
}
func (PushEvent) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (PushEvent) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*PushEvent) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*PushEvent) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Pusher ¶
func (Pusher) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Pusher) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Pusher) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Pusher) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Repository ¶
type Repository struct {
ID int64 `json:"id,omitempty"`
NodeID string `json:"node_id,omitempty"`
Name string `json:"name,omitempty"`
FullName string `json:"full_name,omitempty"`
Private bool `json:"private,omitempty"`
Owner Owner `json:"owner,omitempty"`
HTMLURL string `json:"html_url,omitempty"`
Description *string `json:"description,omitempty"`
Fork bool `json:"fork,omitempty"`
URL string `json:"url,omitempty"`
CreatedAt int64 `json:"created_at,omitempty"`
UpdatedAt time.Time `json:"updated_at,omitempty"`
PushedAt int64 `json:"pushed_at,omitempty"`
GitURL string `json:"git_url,omitempty"`
SSHURL string `json:"sshurl,omitempty"`
CloneURL string `json:"clone_url,omitempty"`
Size int `json:"size,omitempty"`
DefaultBranch string `json:"default_branch,omitempty"`
MasterBranch string `json:"master_branch,omitempty"`
}
func (Repository) MarshalEasyJSON ¶
func (v Repository) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Repository) MarshalJSON ¶
func (v Repository) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Repository) UnmarshalEasyJSON ¶
func (v *Repository) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Repository) UnmarshalJSON ¶
func (v *Repository) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Sender ¶
type Sender struct {
Login string `json:"login,omitempty"`
ID int64 `json:"id,omitempty"`
NodeID string `json:"node_id,omitempty"`
Type string `json:"type,omitempty"`
}
func (Sender) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Sender) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Sender) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Sender) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface