github

package
v0.0.0-...-b5d19b8 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataOutline

type DataOutline struct {
	Data struct {
		User struct {
			Repositories struct {
				Edges []struct {
					Node struct {
						NameWithOwner string    `json:"nameWithOwner"`
						PushedAt      time.Time `json:"pushedAt"`
						Description   string    `json:"description"`
						Issues        struct {
							TotalCount int `json:"totalCount"`
						} `json:"issues"`
						PrimaryLanguage struct {
							Name  string `json:"name"`
							Color string `json:"color"`
						} `json:"primaryLanguage"`
						ForkCount    int `json:"forkCount"`
						PullRequests struct {
							TotalCount int `json:"totalCount"`
						} `json:"pullRequests"`
						LicenseInfo struct {
							Name string `json:"name"`
						} `json:"licenseInfo"`
						Stargazers struct {
							TotalCount int `json:"totalCount"`
						} `json:"stargazers"`
						IsPrivate   bool      `json:"isPrivate"`
						CreatedAt   time.Time `json:"createdAt"`
						Deployments struct {
							Edges []struct {
								Node struct {
									State string `json:"state"`
								} `json:"node"`
							} `json:"edges"`
						} `json:"deployments"`
						DefaultBranchRef struct {
							Target struct {
								CheckSuites struct {
									Nodes []struct {
										Conclusion interface{} `json:"conclusion"`
										Status     string      `json:"status"`
									} `json:"nodes"`
								} `json:"checkSuites"`
							} `json:"target"`
						} `json:"defaultBranchRef"`
					} `json:"node"`
				} `json:"edges"`
			} `json:"repositories"`
		} `json:"user"`
	} `json:"data"`
}

func GetData

func GetData(configuration config.Outline) DataOutline

Get the data for the table

Jump to

Keyboard shortcuts

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