graphql

package
v0.2.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 2 Imported by: ? modules, 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

This section is empty.

Types

type Organization

type Organization struct {
	Repositories Repositories `graphql:"repositories(first: 100, after: $repoCursor)" json:"repositories,omitempty"`
}

type Owner

type Owner struct {
	Login string `json:"login,omitempty"`
}

type PageInfo

type PageInfo struct {
	HasNextPage bool            `json:"has_next_page,omitempty"`
	EndCursor   githubv4.String `json:"end_cursor,omitempty"`
}

type Repositories

type Repositories struct {
	TotalCount int          `json:"total_count,omitempty"`
	PageInfo   PageInfo     `json:"page_info,omitempty"`
	Nodes      []Repository `json:"nodes,omitempty"`
}

type Repository

type Repository struct {
	ID               string           `json:"id,omitempty"`
	Name             string           `json:"name,omitempty"`
	Description      string           `json:"description,omitempty"`
	URL              string           `json:"url,omitempty"`
	SSHURL           string           `json:"ssh_url,omitempty"`
	Owner            Owner            `json:"owner,omitempty"`
	IsPrivate        bool             `json:"is_private,omitempty"`
	CreatedAt        time.Time        `json:"created_at,omitempty"`
	UpdatedAt        time.Time        `json:"updated_at,omitempty"`
	PushedAt         time.Time        `json:"pushed_at,omitempty"`
	RepositoryTopics RepositoryTopics `graphql:"repositoryTopics(first: 25)" json:"repository_topics,omitempty"`
}

type RepositoryTopic added in v0.1.2

type RepositoryTopic struct {
	Topic        Topic  `json:"topic,omitempty"`
	ResourcePath string `json:"resource_path,omitempty"`
}

type RepositoryTopics added in v0.1.2

type RepositoryTopics struct {
	Nodes []RepositoryTopic `json:"nodes,omitempty"`
}

type Topic added in v0.1.2

type Topic struct {
	Name string `json:"name,omitempty"`
}

Jump to

Keyboard shortcuts

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