api

package
v0.0.0-...-ab6916d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClient

func CreateClient() *http.Client

Create a GitHub client.

Types

type QueryOutline

type QueryOutline struct {
	Data struct {
		Viewer struct {
			Repositories struct {
				Edges []struct {
					Node struct {
						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:"viewer"`
	} `json:"data"`
}

func GetChecks

func GetChecks(client *http.Client) QueryOutline

Get the checks from the API

Jump to

Keyboard shortcuts

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