original

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLogging

func InitLogging()

Types

type Contributor

type Contributor struct {
	Login    string `json:"login"`
	RoleName string `json:"role_name"`
}

type ContributorResponse

type ContributorResponse []Contributor

type EnterpriseOrganisationsResponse

type EnterpriseOrganisationsResponse struct {
	Data struct {
		Enterprise struct {
			Organizations struct {
				Edges []struct {
					Node struct {
						Login       string `json:"login"`
						Description string `json:"description"`
					} `json:"node"`
				} `json:"edges"`
			} `json:"organizations"`
		} `json:"enterprise"`
	} `json:"data"`
}

type Licenses

type Licenses struct {
	Users []User `json:"users"`
}

type Organization

type Organization struct {
	Login       string `json:"login"`
	Description string `json:"description"`
}

type Plan

type Plan struct {
	Name string `json:"name"`
}

type Repository

type Repository struct {
	FullName   string `json:"full_name"`
	Private    bool   `json:"private"`
	Disabled   bool   `json:"disabled"`
	Visibility string `json:"visibility"`
}

type RepositoryResponse

type RepositoryResponse []Repository

type RepositoryWithContributors

type RepositoryWithContributors struct {
	Repo        Repository
	Contributor []Contributor
}

type User

type User struct {
	GitHubLogin      string `json:"github_com_login"`
	GitHubName       string `json:"github_com_name"`
	GitHubSAMLNameID string `json:"github_com_saml_name_id"`
}

Jump to

Keyboard shortcuts

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