github

package
v0.0.77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Author

type Author struct {
	Email    string `json:"email,omitempty"`
	Name     string `json:"name,omitempty"`
	Username string `json:"username,omitempty"`
}

type Commit

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

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

type Pusher struct {
	Email    string `json:"email"`
	Username string `json:"name"`
}

type Repository

type Repository struct {
	FullName string `json:"full_name"`
}

type User

type User struct {
	ID    int64  `json:"id"`
	Login string `json:"login"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL