github

package
v0.10.47 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2026 License: Apache-2.0 Imports: 15 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

func GetIssues added in v0.10.23

func GetIssues(repo *github.Repository, client *github.Client, conf types.GenRepo) map[string]interface{}

GetIssues get issues

func GetOrCreate added in v0.10.18

func GetOrCreate(destination types.GenRepo, repo types.Repo) (string, string, error)

GetOrCreate returns the destination's clone URL and resolved push token, creating the repository if needed.

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