github

package
v0.10.15 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(conf *types.Conf) ([]types.Repo, bool)

Get TODO.

Types

type Query added in v0.10.14

type Query struct {
	User User `graphql:"user(login: $userLogin)"`
}

type Repository added in v0.10.14

type Repository struct {
	Name  string
	Owner struct {
		Login string
	}
}

type User added in v0.10.14

type User struct {
	Login                     string
	RepositoriesContributedTo struct {
		Nodes    []Repository
		PageInfo struct {
			EndCursor   githubv4.String
			HasNextPage bool
		}
	} `graphql:"repositoriesContributedTo(contributionTypes: [COMMIT, PULL_REQUEST, REPOSITORY], first: 100, after: $reposCursor)"`
}

type V4Repo added in v0.10.14

type V4Repo struct {
	User       string
	Repository string
}

Jump to

Keyboard shortcuts

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