githubapi

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: MIT Imports: 13 Imported by: 0 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

Overview

Package githubapi wraps GitHub REST and GraphQL access, the rate tracker, and the MOCKED_TOKEN safety guard.

Index

Constants

View Source
const DefaultGraphQLURL = "https://api.github.com/graphql"

DefaultGraphQLURL is the production GraphQL endpoint.

View Source
const DefaultRESTBaseURL = "https://api.github.com"

DefaultRESTBaseURL is the production endpoint for the REST API. The constructor accepts overrides so tests can point the client at an httptest server.

View Source
const OrganizationMembers_Operation = `` /* 279-byte string literal not displayed */

The query executed by OrganizationMembers.

View Source
const OrganizationRepositories_Operation = `` /* 973-byte string literal not displayed */

The query executed by OrganizationRepositories.

View Source
const Organization_Operation = `` /* 179-byte string literal not displayed */

The query executed by Organization.

View Source
const Repository_Operation = `` /* 666-byte string literal not displayed */

The query executed by Repository.

View Source
const UserCommitContributions_Operation = `` /* 195-byte string literal not displayed */

The query executed by UserCommitContributions.

View Source
const UserFollowers_Operation = `` /* 314-byte string literal not displayed */

The query executed by UserFollowers.

View Source
const UserIndepth_Operation = `` /* 829-byte string literal not displayed */

The query executed by UserIndepth.

View Source
const UserIsocalendar_Operation = `` /* 314-byte string literal not displayed */

The query executed by UserIsocalendar.

View Source
const UserLists_Operation = `` /* 374-byte string literal not displayed */

The query executed by UserLists.

View Source
const UserNotable_Operation = `` /* 817-byte string literal not displayed */

The query executed by UserNotable.

View Source
const UserReactions_Operation = `` /* 418-byte string literal not displayed */

The query executed by UserReactions.

View Source
const UserRepositories_Operation = `` /* 985-byte string literal not displayed */

The query executed by UserRepositories.

View Source
const UserStarredRepositories_Operation = `` /* 518-byte string literal not displayed */

The query executed by UserStarredRepositories.

View Source
const User_Operation = `` /* 1346-byte string literal not displayed */

The query executed by User.

View Source
const ViewerPinnedItems_Operation = `` /* 538-byte string literal not displayed */

The query executed by ViewerPinnedItems.

View Source
const ViewerProjects_Operation = `` /* 237-byte string literal not displayed */

The query executed by ViewerProjects.

View Source
const ViewerSponsors_Operation = `` /* 892-byte string literal not displayed */

The query executed by ViewerSponsors.

View Source
const ViewerSponsorships_Operation = `` /* 420-byte string literal not displayed */

The query executed by ViewerSponsorships.

View Source
const ViewerStargazersRepos_Operation = `` /* 400-byte string literal not displayed */

The query executed by ViewerStargazersRepos.

Variables

Functions

func IsRealGitHubHost

func IsRealGitHubHost(host string) bool

IsRealGitHubHost reports whether host names a production GitHub endpoint. Exported so callers (including this package's tests) can run the same predicate without re-implementing it.

The match is case-insensitive and considers:

  • api.github.com
  • github.com
  • *.githubusercontent.com (raw, avatars, codeload, ...)

func ValidateToken

func ValidateToken(raw string) error

ValidateToken returns nil when raw is acceptable for outbound calls, or a typed *InputError describing why it cannot be used. Centralized here so REST and GraphQL constructors share one decision.

Types

type GraphQL

type GraphQL struct {
	// contains filtered or unexported fields
}

GraphQL wraps the genqlient client with the project's standard transport (retryable HTTP + MOCKED_TOKEN panic guard) and exposes the typed query methods that plugins consume.

func NewGraphQL

func NewGraphQL(token config.Token, customBaseURL string, opts httpx.Options) (*GraphQL, error)

NewGraphQL constructs the GraphQL client. The token is validated and classified up front; for TokenMocked the transport is wrapped in [newMockedGuard] so any request that escapes to a real GitHub host fails loudly (FR-017).

func (*GraphQL) BaseURL

func (g *GraphQL) BaseURL() string

BaseURL returns the configured GraphQL endpoint.

func (*GraphQL) Client

func (g *GraphQL) Client() graphql.Client

Client exposes the underlying genqlient client.

func (*GraphQL) Organization

func (g *GraphQL) Organization(ctx context.Context, login string) (*OrganizationResponse, error)

Organization fetches the typed OrganizationOrganization payload by login.

func (*GraphQL) OrganizationMembers

func (g *GraphQL) OrganizationMembers(ctx context.Context, login string, first int, after *string) (*OrganizationMembersResponse, error)

OrganizationMembers fetches a page of an organization's members. The `after` cursor enables paging.

func (*GraphQL) OrganizationRepositories

func (g *GraphQL) OrganizationRepositories(ctx context.Context, login string, first int, after *string) (*OrganizationRepositoriesResponse, error)

OrganizationRepositories is the organization-side equivalent of UserRepositories. The `after` cursor is threaded for paging the same way.

func (*GraphQL) Repository

func (g *GraphQL) Repository(ctx context.Context, login, repo string) (*RepositoryResponse, error)

Repository fetches the typed RepositoryRepository payload for a single owner/name pair. Used by the M7 base plugin's repository fetch path.

func (*GraphQL) TokenKind

func (g *GraphQL) TokenKind() TokenKind

TokenKind reports how the credential classified.

func (*GraphQL) User

func (g *GraphQL) User(ctx context.Context, login string) (*UserResponse, error)

User fetches the typed UserUser payload by login.

func (*GraphQL) UserCommitContributions added in v1.2.0

func (g *GraphQL) UserCommitContributions(ctx context.Context, login string, from, to time.Time) (*UserCommitContributionsResponse, error)

UserCommitContributions fetches the commit-contribution total for an explicit from/to window. The base plugin calls it once per account year to reproduce upstream's lifetime Activity commit total.

func (*GraphQL) UserFollowers

func (g *GraphQL) UserFollowers(ctx context.Context, login string, first, size int) (*UserFollowersResponse, error)

UserFollowers fetches the user's followers + following pages. Consumed by the "people" plugin. size bounds the fetched avatar resolution via avatarUrl(size:) so embedded base64 stays small.

func (*GraphQL) UserIndepth

func (g *GraphQL) UserIndepth(ctx context.Context, login string, from, to *time.Time, reposFirst int, reposAfter *string) (*UserIndepthResponse, error)

UserIndepth issues the "indepth" GraphQL query that augments the base payload with per-repository commit/issue/PR totals and the user's contribution calendar. Triggered only when at least one indepth- dependent plugin is enabled.

func (*GraphQL) UserIsocalendar added in v1.2.0

func (g *GraphQL) UserIsocalendar(ctx context.Context, login string, from, to time.Time) (*UserIsocalendarResponse, error)

UserIsocalendar fetches the contribution calendar for an explicit from/to window. The isocalendar plugin issues it in 4-week chunks (mirroring upstream) so GitHub normalizes each chunk's heatmap colors against the chunk-local maximum instead of the whole-year maximum (see #467).

func (*GraphQL) UserLists added in v1.1.0

func (g *GraphQL) UserLists(ctx context.Context, login string, listsFirst, itemsFirst int) (*UserListsResponse, error)

UserLists fetches the user's starlists (user.lists) and their items in a single round-trip. Consumed by the "starlists" plugin (spec 014).

func (*GraphQL) UserNotable added in v1.1.0

func (g *GraphQL) UserNotable(ctx context.Context, login string, first int, after *string, types []RepositoryContributionType, self *bool) (*UserNotableResponse, error)

UserNotable fetches the repositories a user contributed to on other users'/organizations' accounts, ordered by stargazers, for the "notable" plugin (issue #447). `types` selects the contribution kinds (commit / pull_request / issue) and `self` (upstream plugin_notable_self, default no) controls whether the user's own repositories are included.

func (*GraphQL) UserReactions

func (g *GraphQL) UserReactions(ctx context.Context, login string, issuesFirst, commentsFirst int) (*UserReactionsResponse, error)

UserReactions fetches the per-emoji reaction content (and totalCount) across the user's issues and issue comments. Consumed by the "reactions" plugin. The reactions connection is paginated with last: 100 because GitHub rejects a bare nodes selection on a connection without a first/last argument (see #472).

func (*GraphQL) UserRepositories

func (g *GraphQL) UserRepositories(ctx context.Context, login string, first int, after *string) (*UserRepositoriesResponse, error)

UserRepositories returns up to `first` owner-affiliated repositories for the given login, starting after the `after` cursor (or from the beginning when after is nil). Callers thread the `pageInfo.endCursor` from one response into the next to walk the entire connection; the base plugin's repositories.go does so with a batch-halving retry strategy that mirrors upstream.

func (*GraphQL) UserStarredRepositories

func (g *GraphQL) UserStarredRepositories(ctx context.Context, login string, first int) (*UserStarredRepositoriesResponse, error)

UserStarredRepositories fetches the user's most-recently starred repositories (most-recent first). Consumed by the "stars" plugin.

func (*GraphQL) ViewerPinnedItems added in v1.1.0

func (g *GraphQL) ViewerPinnedItems(ctx context.Context, first int) (*ViewerPinnedItemsResponse, error)

ViewerPinnedItems fetches the viewer's pinned repositories for the "repositories" plugin's Pinned slot (spec 013).

func (*GraphQL) ViewerProjects added in v1.1.0

func (g *GraphQL) ViewerProjects(ctx context.Context, first int) (*ViewerProjectsResponse, error)

ViewerProjects fetches viewer.projectsV2 (open + closed) for the "projects" plugin (spec 013).

func (*GraphQL) ViewerSponsors added in v1.1.0

func (g *GraphQL) ViewerSponsors(ctx context.Context, activeFirst, pastFirst int) (*ViewerSponsorsResponse, error)

ViewerSponsors fetches sponsorshipsAsMaintainer (active + past) and sponsorsListing.activeGoal. Consumed by the "sponsors" plugin (spec 013).

func (*GraphQL) ViewerSponsorships added in v1.1.0

func (g *GraphQL) ViewerSponsorships(ctx context.Context, first int) (*ViewerSponsorshipsResponse, error)

ViewerSponsorships fetches sponsorshipsAsSponsor (the maintainers the viewer is currently sponsoring). Consumed by the "sponsorships" plugin (spec 013).

func (*GraphQL) ViewerStargazersRepos added in v1.1.0

func (g *GraphQL) ViewerStargazersRepos(ctx context.Context, repoFirst, starFirst int) (*ViewerStargazersReposResponse, error)

ViewerStargazersRepos fetches the viewer's top repos and their stargazers (latest N) for the "stargazers" plugin (spec 013).

type MockCall

type MockCall struct {
	Method string
	Path   string
	Header http.Header
	Body   []byte
}

MockCall records a single observed request so tests can assert interaction history after the fact.

type MockResponse

type MockResponse struct {
	Status int
	Header http.Header
	Body   []byte
}

MockResponse is the canned reply for a single route entry. Either Status or Body may be zero — defaults are 200 and `{}` respectively.

type MockTransport

type MockTransport struct {
	// contains filtered or unexported fields
}

MockTransport is the M1 minimal http.RoundTripper used by REST tests (and US5 integration tests) to feed canned responses to the github API client without hitting the network. It is intentionally tiny; the full mock infrastructure that supports recorded fixtures lands with T-118 in M9.

MockTransport routes by exact "<METHOD> <PATH>" key, falling back to "<METHOD> <PATH-prefix>*" wildcards. Unknown routes return HTTP 404 with a diagnostic body so failing tests see what was missed.

func NewMockTransport

func NewMockTransport() *MockTransport

NewMockTransport returns an empty MockTransport.

func (*MockTransport) Calls

func (m *MockTransport) Calls() []MockCall

Calls returns a snapshot of all observed requests.

func (*MockTransport) RoundTrip

func (m *MockTransport) RoundTrip(req *http.Request) (*http.Response, error)

RoundTrip implements http.RoundTripper.

func (*MockTransport) Set

func (m *MockTransport) Set(method, path string, resp MockResponse)

Set registers a response for the given method+path tuple. Path may end with "*" to match any suffix (greedy, longest-prefix wins).

func (*MockTransport) SetJSON

func (m *MockTransport) SetJSON(method, path, body string)

SetJSON is a convenience for the common "200 OK + JSON body" route.

type OrganizationMembersOrganization

type OrganizationMembersOrganization struct {
	MembersWithRole *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection `json:"membersWithRole"`
}

OrganizationMembersOrganization includes the requested fields of the GraphQL type Organization.

func (*OrganizationMembersOrganization) GetMembersWithRole

GetMembersWithRole returns OrganizationMembersOrganization.MembersWithRole, and is useful for accessing the field via an interface.

type OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection

type OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection struct {
	TotalCount int                                                                                    `json:"totalCount"`
	PageInfo   *OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo    `json:"pageInfo"`
	Nodes      []*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser `json:"nodes"`
}

OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection includes the requested fields of the GraphQL type OrganizationMemberConnection.

func (*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection) GetNodes

GetNodes returns OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection.Nodes, and is useful for accessing the field via an interface.

func (*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection) GetPageInfo

GetPageInfo returns OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection.PageInfo, and is useful for accessing the field via an interface.

func (*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection) GetTotalCount

GetTotalCount returns OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnection.TotalCount, and is useful for accessing the field via an interface.

type OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser

type OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser struct {
	Login     string  `json:"login"`
	Name      *string `json:"name"`
	AvatarUrl string  `json:"avatarUrl"`
}

OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser includes the requested fields of the GraphQL type User.

func (*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser) GetAvatarUrl

GetAvatarUrl returns OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser.AvatarUrl, and is useful for accessing the field via an interface.

func (*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser) GetLogin

GetLogin returns OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser.Login, and is useful for accessing the field via an interface.

func (*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser) GetName

GetName returns OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionNodesUser.Name, and is useful for accessing the field via an interface.

type OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo

type OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo struct {
	HasNextPage bool    `json:"hasNextPage"`
	EndCursor   *string `json:"endCursor"`
}

OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo includes the requested fields of the GraphQL type PageInfo.

func (*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo) GetEndCursor

GetEndCursor returns OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.

func (*OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo) GetHasNextPage

GetHasNextPage returns OrganizationMembersOrganizationMembersWithRoleOrganizationMemberConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.

type OrganizationMembersResponse

type OrganizationMembersResponse struct {
	Organization *OrganizationMembersOrganization `json:"organization"`
}

OrganizationMembersResponse is returned by OrganizationMembers on success.

func OrganizationMembers

func OrganizationMembers(
	ctx_ context.Context,
	client_ graphql.Client,
	login string,
	first int,
	after *string,
) (data_ *OrganizationMembersResponse, err_ error)

func (*OrganizationMembersResponse) GetOrganization

GetOrganization returns OrganizationMembersResponse.Organization, and is useful for accessing the field via an interface.

type OrganizationOrganization

type OrganizationOrganization struct {
	DatabaseId  *int      `json:"databaseId"`
	Id          string    `json:"id"`
	Login       string    `json:"login"`
	Name        *string   `json:"name"`
	Location    *string   `json:"location"`
	CreatedAt   time.Time `json:"createdAt"`
	AvatarUrl   string    `json:"avatarUrl"`
	WebsiteUrl  *string   `json:"websiteUrl"`
	Email       *string   `json:"email"`
	Description *string   `json:"description"`
}

OrganizationOrganization includes the requested fields of the GraphQL type Organization.

func (*OrganizationOrganization) GetAvatarUrl

func (v *OrganizationOrganization) GetAvatarUrl() string

GetAvatarUrl returns OrganizationOrganization.AvatarUrl, and is useful for accessing the field via an interface.

func (*OrganizationOrganization) GetCreatedAt

func (v *OrganizationOrganization) GetCreatedAt() time.Time

GetCreatedAt returns OrganizationOrganization.CreatedAt, and is useful for accessing the field via an interface.

func (*OrganizationOrganization) GetDatabaseId

func (v *OrganizationOrganization) GetDatabaseId() *int

GetDatabaseId returns OrganizationOrganization.DatabaseId, and is useful for accessing the field via an interface.

func (*OrganizationOrganization) GetDescription

func (v *OrganizationOrganization) GetDescription() *string

GetDescription returns OrganizationOrganization.Description, and is useful for accessing the field via an interface.

func (*OrganizationOrganization) GetEmail

func (v *OrganizationOrganization) GetEmail() *string

GetEmail returns OrganizationOrganization.Email, and is useful for accessing the field via an interface.

func (*OrganizationOrganization) GetId

func (v *OrganizationOrganization) GetId() string

GetId returns OrganizationOrganization.Id, and is useful for accessing the field via an interface.

func (*OrganizationOrganization) GetLocation

func (v *OrganizationOrganization) GetLocation() *string

GetLocation returns OrganizationOrganization.Location, and is useful for accessing the field via an interface.

func (*OrganizationOrganization) GetLogin

func (v *OrganizationOrganization) GetLogin() string

GetLogin returns OrganizationOrganization.Login, and is useful for accessing the field via an interface.

func (*OrganizationOrganization) GetName

func (v *OrganizationOrganization) GetName() *string

GetName returns OrganizationOrganization.Name, and is useful for accessing the field via an interface.

func (*OrganizationOrganization) GetWebsiteUrl

func (v *OrganizationOrganization) GetWebsiteUrl() *string

GetWebsiteUrl returns OrganizationOrganization.WebsiteUrl, and is useful for accessing the field via an interface.

type OrganizationRepositoriesOrganization

type OrganizationRepositoriesOrganization struct {
	Repositories *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection `json:"repositories"`
}

OrganizationRepositoriesOrganization includes the requested fields of the GraphQL type Organization.

func (*OrganizationRepositoriesOrganization) GetRepositories

GetRepositories returns OrganizationRepositoriesOrganization.Repositories, and is useful for accessing the field via an interface.

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection struct {
	TotalCount int                                                                                    `json:"totalCount"`
	PageInfo   *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo          `json:"pageInfo"`
	Nodes      []*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository `json:"nodes"`
}

OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection includes the requested fields of the GraphQL type RepositoryConnection.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection) GetNodes

GetNodes returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection.Nodes, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection) GetPageInfo

GetPageInfo returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection.PageInfo, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection) GetTotalCount

GetTotalCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnection.TotalCount, and is useful for accessing the field via an interface.

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository struct {
	DatabaseId      *int                                                                                                                  `json:"databaseId"`
	Id              string                                                                                                                `json:"id"`
	Name            string                                                                                                                `json:"name"`
	NameWithOwner   string                                                                                                                `json:"nameWithOwner"`
	Description     *string                                                                                                               `json:"description"`
	Url             string                                                                                                                `json:"url"`
	IsPrivate       bool                                                                                                                  `json:"isPrivate"`
	IsFork          bool                                                                                                                  `json:"isFork"`
	CreatedAt       time.Time                                                                                                             `json:"createdAt"`
	PushedAt        *time.Time                                                                                                            `json:"pushedAt"`
	UpdatedAt       *time.Time                                                                                                            `json:"updatedAt"`
	StargazerCount  int                                                                                                                   `json:"stargazerCount"`
	ForkCount       int                                                                                                                   `json:"forkCount"`
	Issues          *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection             `json:"issues"`
	PullRequests    *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection `json:"pullRequests"`
	Watchers        *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection         `json:"watchers"`
	PrimaryLanguage *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage                   `json:"primaryLanguage"`
	Languages       *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection       `json:"languages"`
	DiskUsage       *int                                                                                                                  `json:"diskUsage"`
	Releases        *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection         `json:"releases"`
	Packages        *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection         `json:"packages"`
	Deployments     *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection   `json:"deployments"`
	LicenseInfo     *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense                `json:"licenseInfo"`
}

OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository includes the requested fields of the GraphQL type Repository.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetCreatedAt added in v1.1.0

GetCreatedAt returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.CreatedAt, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetDatabaseId

GetDatabaseId returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.DatabaseId, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetDeployments added in v1.2.7

GetDeployments returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Deployments, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetDescription

GetDescription returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Description, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetDiskUsage added in v1.1.0

GetDiskUsage returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.DiskUsage, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetForkCount

GetForkCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.ForkCount, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetId

GetId returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Id, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetIsFork

GetIsFork returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.IsFork, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetIsPrivate

GetIsPrivate returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.IsPrivate, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetIssues added in v1.1.0

GetIssues returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Issues, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetLanguages

GetLanguages returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Languages, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetLicenseInfo added in v1.1.0

GetLicenseInfo returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.LicenseInfo, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetName

GetName returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Name, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetNameWithOwner

GetNameWithOwner returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.NameWithOwner, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetPackages added in v1.1.0

GetPackages returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Packages, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetPrimaryLanguage

GetPrimaryLanguage returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.PrimaryLanguage, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetPullRequests added in v1.1.0

GetPullRequests returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.PullRequests, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetPushedAt

GetPushedAt returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.PushedAt, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetReleases added in v1.1.0

GetReleases returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Releases, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetStargazerCount

GetStargazerCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.StargazerCount, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetUpdatedAt

GetUpdatedAt returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.UpdatedAt, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetUrl

GetUrl returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Url, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository) GetWatchers

GetWatchers returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepository.Watchers, and is useful for accessing the field via an interface.

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection added in v1.2.7

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection struct {
	TotalCount int `json:"totalCount"`
}

OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection includes the requested fields of the GraphQL type DeploymentConnection.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection) GetTotalCount added in v1.2.7

GetTotalCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection.TotalCount, and is useful for accessing the field via an interface.

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection added in v1.1.0

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection struct {
	TotalCount int `json:"totalCount"`
}

OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection) GetTotalCount added in v1.1.0

GetTotalCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection.TotalCount, and is useful for accessing the field via an interface.

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection struct {
	TotalCount int                                                                                                                                `json:"totalCount"`
	TotalSize  int                                                                                                                                `json:"totalSize"`
	Edges      []*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge `json:"edges"`
}

OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection includes the requested fields of the GraphQL type LanguageConnection.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetEdges

GetEdges returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection.Edges, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetTotalCount

GetTotalCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection.TotalCount, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetTotalSize

GetTotalSize returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection.TotalSize, and is useful for accessing the field via an interface.

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge struct {
	Size int                                                                                                                                          `json:"size"`
	Node *OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage `json:"node"`
}

OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge includes the requested fields of the GraphQL type LanguageEdge.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetNode

GetNode returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge.Node, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetSize

GetSize returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge.Size, and is useful for accessing the field via an interface.

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage struct {
	Name  string  `json:"name"`
	Color *string `json:"color"`
}

OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage includes the requested fields of the GraphQL type Language.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetColor

GetColor returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage.Color, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetName

GetName returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage.Name, and is useful for accessing the field via an interface.

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense added in v1.1.0

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense struct {
	Name     string  `json:"name"`
	Key      *string `json:"key"`
	Nickname *string `json:"nickname"`
	SpdxId   *string `json:"spdxId"`
}

OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense includes the requested fields of the GraphQL type License.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetKey added in v1.1.0

GetKey returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense.Key, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetName added in v1.1.0

GetName returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense.Name, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetNickname added in v1.1.0

GetNickname returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense.Nickname, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetSpdxId added in v1.1.0

GetSpdxId returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense.SpdxId, and is useful for accessing the field via an interface.

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection added in v1.1.0

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection struct {
	TotalCount int `json:"totalCount"`
}

OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection includes the requested fields of the GraphQL type PackageConnection.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection) GetTotalCount added in v1.1.0

GetTotalCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection.TotalCount, and is useful for accessing the field via an interface.

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage struct {
	Name  string  `json:"name"`
	Color *string `json:"color"`
}

OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage includes the requested fields of the GraphQL type Language.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage) GetColor

GetColor returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage.Color, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage) GetName

GetName returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage.Name, and is useful for accessing the field via an interface.

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection added in v1.1.0

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection struct {
	TotalCount int `json:"totalCount"`
}

OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection includes the requested fields of the GraphQL type PullRequestConnection.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection) GetTotalCount added in v1.1.0

GetTotalCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection.TotalCount, and is useful for accessing the field via an interface.

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection added in v1.1.0

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection struct {
	TotalCount int `json:"totalCount"`
}

OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection includes the requested fields of the GraphQL type ReleaseConnection.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection) GetTotalCount added in v1.1.0

GetTotalCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection.TotalCount, and is useful for accessing the field via an interface.

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection struct {
	TotalCount int `json:"totalCount"`
}

OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection includes the requested fields of the GraphQL type WatcherConnection.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection) GetTotalCount

GetTotalCount returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection.TotalCount, and is useful for accessing the field via an interface.

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo

type OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo struct {
	HasNextPage bool    `json:"hasNextPage"`
	EndCursor   *string `json:"endCursor"`
}

OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo includes the requested fields of the GraphQL type PageInfo.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo) GetEndCursor

GetEndCursor returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.

func (*OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo) GetHasNextPage

GetHasNextPage returns OrganizationRepositoriesOrganizationRepositoriesRepositoryConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.

type OrganizationRepositoriesResponse

type OrganizationRepositoriesResponse struct {
	Organization *OrganizationRepositoriesOrganization `json:"organization"`
}

OrganizationRepositoriesResponse is returned by OrganizationRepositories on success.

func OrganizationRepositories

func OrganizationRepositories(
	ctx_ context.Context,
	client_ graphql.Client,
	login string,
	first int,
	after *string,
) (data_ *OrganizationRepositoriesResponse, err_ error)

func (*OrganizationRepositoriesResponse) GetOrganization

GetOrganization returns OrganizationRepositoriesResponse.Organization, and is useful for accessing the field via an interface.

type OrganizationResponse

type OrganizationResponse struct {
	Organization *OrganizationOrganization `json:"organization"`
}

OrganizationResponse is returned by Organization on success.

func Organization

func Organization(
	ctx_ context.Context,
	client_ graphql.Client,
	login string,
) (data_ *OrganizationResponse, err_ error)

func (*OrganizationResponse) GetOrganization

func (v *OrganizationResponse) GetOrganization() *OrganizationOrganization

GetOrganization returns OrganizationResponse.Organization, and is useful for accessing the field via an interface.

type Quota

type Quota struct {
	Limit     int       `json:"limit"`
	Used      int       `json:"used"`
	Remaining int       `json:"remaining"`
	Reset     time.Time `json:"reset"`
}

Quota is the per-bucket rate counter; the JSON tags mirror upstream.

func (*Quota) UnmarshalJSON

func (q *Quota) UnmarshalJSON(b []byte) error

UnmarshalJSON accepts the integer epoch seconds that GitHub returns for "reset" and folds it into time.Time.

type REST

type REST struct {
	// contains filtered or unexported fields
}

REST wraps the httpx.Client with GitHub REST helpers. It is safe for concurrent use; the underlying transport stays alive for the life of the process.

func NewREST

func NewREST(token config.Token, customBaseURL string, opts httpx.Options) (*REST, error)

NewREST constructs a REST client. The token kind is classified up-front so callers can branch on it; an empty / fine-grained / junk token returns the typed *InputError defined by ValidateToken.

When TokenKind == TokenMocked the transport is wrapped by [newMockedGuard] so requests to real GitHub hosts panic loudly (FR-017).

func (*REST) BaseURL

func (r *REST) BaseURL() string

BaseURL returns the configured base URL.

func (*REST) Delete

func (r *REST) Delete(ctx context.Context, path string, extra http.Header) ([]byte, *http.Response, error)

Delete issues an authenticated DELETE. No body. Used by the M6 committer for `DELETE /git/refs/heads/<branch>` (PR head branch cleanup, Phase 4).

func (*REST) Get

func (r *REST) Get(ctx context.Context, path string, extra http.Header) ([]byte, *http.Response, error)

Get issues an authenticated GET to path (which MUST start with "/") and returns the raw body + response. The default GitHub Accept / Authorization headers attached at construction time are sent on every request; callers can layer additional headers via the second argument.

Used by plugins that need an arbitrary REST endpoint that hasn't earned a dedicated typed helper yet (activity events, habits commit diffs, traffic counters, ...). On non-2xx status the response is still returned alongside the body so callers can inspect status code + headers; a transport-level error returns (nil, nil, err).

func (*REST) HTTPClient

func (r *REST) HTTPClient() *http.Client

HTTPClient exposes the underlying retry-enabled http.Client.

func (*REST) HeadRoot

func (r *REST) HeadRoot(ctx context.Context) (*http.Response, error)

HeadRoot inspects the root endpoint primarily to read X-OAuth-Scopes during token validation (T-108 in M6).

func (*REST) Post

func (r *REST) Post(ctx context.Context, path string, body []byte, extra http.Header) ([]byte, *http.Response, error)

Post issues an authenticated POST with the given JSON body. Used by the M6 committer for `POST /repos/.../pulls` (PR creation, Phase 4).

func (*REST) Put

func (r *REST) Put(ctx context.Context, path string, body []byte, extra http.Header) ([]byte, *http.Response, error)

Put issues an authenticated PUT with the given JSON body. Mirrors Get's response surface (body + http.Response + transport error). Used by the M6 committer for `PUT /repos/.../contents/<filename>` (content commits) and `PUT /git/refs` (branch creation).

func (*REST) RateLimit

func (r *REST) RateLimit(ctx context.Context) (*RateLimitResponse, error)

RateLimit queries /rate_limit and returns the decoded payload.

func (*REST) Scopes

func (r *REST) Scopes(ctx context.Context) ([]string, error)

Scopes returns the OAuth scopes granted to the configured token, as reported by the GitHub API's X-OAuth-Scopes response header on a `GET /` request.

The first call issues the HTTP probe and caches the result; subsequent calls return the cached slice without re-hitting the network. An empty slice (with nil error) means the token has no scopes — either the response carried no X-OAuth-Scopes header, or the request itself was unauthenticated (HTTP 401, which GitHub returns for a missing or rejected token). Plugins that gate behavior on a particular scope (projects, sponsors, traffic) can therefore call this helper without worrying about request amplification — they Skip on the empty slice regardless of whether the token was missing or merely under-scoped.

On HTTP-level failure (transport error, 5xx, or any other non-{2xx, 401} status), the error is surfaced verbatim and nothing is cached so callers can retry on the next request.

func (*REST) TokenKind

func (r *REST) TokenKind() TokenKind

TokenKind reports how the credential was classified.

type RateLimitResponse

type RateLimitResponse struct {
	Resources struct {
		Core    Quota `json:"core"`
		GraphQL Quota `json:"graphql"`
		Search  Quota `json:"search"`
	} `json:"resources"`
	Rate Quota `json:"rate"`
}

RateLimitResponse mirrors the upstream /rate_limit payload (only the fields the project consumes).

type ReactionContent added in v1.1.0

type ReactionContent string
const (
	ReactionContentThumbsUp   ReactionContent = "THUMBS_UP"
	ReactionContentThumbsDown ReactionContent = "THUMBS_DOWN"
	ReactionContentLaugh      ReactionContent = "LAUGH"
	ReactionContentHooray     ReactionContent = "HOORAY"
	ReactionContentConfused   ReactionContent = "CONFUSED"
	ReactionContentHeart      ReactionContent = "HEART"
	ReactionContentRocket     ReactionContent = "ROCKET"
	ReactionContentEyes       ReactionContent = "EYES"
)

type RepositoryContributionType added in v1.1.0

type RepositoryContributionType string
const (
	RepositoryContributionTypeCommit            RepositoryContributionType = "COMMIT"
	RepositoryContributionTypeIssue             RepositoryContributionType = "ISSUE"
	RepositoryContributionTypePullRequest       RepositoryContributionType = "PULL_REQUEST"
	RepositoryContributionTypePullRequestReview RepositoryContributionType = "PULL_REQUEST_REVIEW"
	RepositoryContributionTypeRepository        RepositoryContributionType = "REPOSITORY"
)

type RepositoryRepository

type RepositoryRepository struct {
	DatabaseId       *int                                                   `json:"databaseId"`
	Name             string                                                 `json:"name"`
	NameWithOwner    string                                                 `json:"nameWithOwner"`
	Description      *string                                                `json:"description"`
	CreatedAt        time.Time                                              `json:"createdAt"`
	DiskUsage        *int                                                   `json:"diskUsage"`
	StargazerCount   int                                                    `json:"stargazerCount"`
	ForkCount        int                                                    `json:"forkCount"`
	IsArchived       bool                                                   `json:"isArchived"`
	Watchers         *RepositoryRepositoryWatchersWatcherConnection         `json:"watchers"`
	Languages        *RepositoryRepositoryLanguagesLanguageConnection       `json:"languages"`
	Deployments      *RepositoryRepositoryDeploymentsDeploymentConnection   `json:"deployments"`
	Environments     *RepositoryRepositoryEnvironmentsEnvironmentConnection `json:"environments"`
	PrimaryLanguage  *RepositoryRepositoryPrimaryLanguage                   `json:"primaryLanguage"`
	LicenseInfo      *RepositoryRepositoryLicenseInfoLicense                `json:"licenseInfo"`
	DefaultBranchRef *RepositoryRepositoryDefaultBranchRef                  `json:"defaultBranchRef"`
	Owner            RepositoryRepositoryOwner                              `json:"-"`
	Issues           *RepositoryRepositoryIssuesIssueConnection             `json:"issues"`
	PullRequests     *RepositoryRepositoryPullRequestsPullRequestConnection `json:"pullRequests"`
}

RepositoryRepository includes the requested fields of the GraphQL type Repository.

func (*RepositoryRepository) GetCreatedAt added in v1.1.0

func (v *RepositoryRepository) GetCreatedAt() time.Time

GetCreatedAt returns RepositoryRepository.CreatedAt, and is useful for accessing the field via an interface.

func (*RepositoryRepository) GetDatabaseId

func (v *RepositoryRepository) GetDatabaseId() *int

GetDatabaseId returns RepositoryRepository.DatabaseId, and is useful for accessing the field via an interface.

func (*RepositoryRepository) GetDefaultBranchRef

GetDefaultBranchRef returns RepositoryRepository.DefaultBranchRef, and is useful for accessing the field via an interface.

func (*RepositoryRepository) GetDeployments added in v1.1.0

GetDeployments returns RepositoryRepository.Deployments, and is useful for accessing the field via an interface.

func (*RepositoryRepository) GetDescription

func (v *RepositoryRepository) GetDescription() *string

GetDescription returns RepositoryRepository.Description, and is useful for accessing the field via an interface.

func (*RepositoryRepository) GetDiskUsage added in v1.1.0

func (v *RepositoryRepository) GetDiskUsage() *int

GetDiskUsage returns RepositoryRepository.DiskUsage, and is useful for accessing the field via an interface.

func (*RepositoryRepository) GetEnvironments added in v1.1.0

GetEnvironments returns RepositoryRepository.Environments, and is useful for accessing the field via an interface.

func (*RepositoryRepository) GetForkCount

func (v *RepositoryRepository) GetForkCount() int

GetForkCount returns RepositoryRepository.ForkCount, and is useful for accessing the field via an interface.

func (*RepositoryRepository) GetIsArchived

func (v *RepositoryRepository) GetIsArchived() bool

GetIsArchived returns RepositoryRepository.IsArchived, and is useful for accessing the field via an interface.

func (*RepositoryRepository) GetIssues

GetIssues returns RepositoryRepository.Issues, and is useful for accessing the field via an interface.

func (*RepositoryRepository) GetLanguages added in v1.2.0

GetLanguages returns RepositoryRepository.Languages, and is useful for accessing the field via an interface.

func (*RepositoryRepository) GetLicenseInfo

GetLicenseInfo returns RepositoryRepository.LicenseInfo, and is useful for accessing the field via an interface.

func (*RepositoryRepository) GetName

func (v *RepositoryRepository) GetName() string

GetName returns RepositoryRepository.Name, and is useful for accessing the field via an interface.

func (*RepositoryRepository) GetNameWithOwner

func (v *RepositoryRepository) GetNameWithOwner() string

GetNameWithOwner returns RepositoryRepository.NameWithOwner, and is useful for accessing the field via an interface.

func (*RepositoryRepository) GetOwner

GetOwner returns RepositoryRepository.Owner, and is useful for accessing the field via an interface.

func (*RepositoryRepository) GetPrimaryLanguage

GetPrimaryLanguage returns RepositoryRepository.PrimaryLanguage, and is useful for accessing the field via an interface.

func (*RepositoryRepository) GetPullRequests

GetPullRequests returns RepositoryRepository.PullRequests, and is useful for accessing the field via an interface.

func (*RepositoryRepository) GetStargazerCount

func (v *RepositoryRepository) GetStargazerCount() int

GetStargazerCount returns RepositoryRepository.StargazerCount, and is useful for accessing the field via an interface.

func (*RepositoryRepository) GetWatchers added in v1.2.0

GetWatchers returns RepositoryRepository.Watchers, and is useful for accessing the field via an interface.

func (*RepositoryRepository) MarshalJSON

func (v *RepositoryRepository) MarshalJSON() ([]byte, error)

func (*RepositoryRepository) UnmarshalJSON

func (v *RepositoryRepository) UnmarshalJSON(b []byte) error

type RepositoryRepositoryDefaultBranchRef

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

RepositoryRepositoryDefaultBranchRef includes the requested fields of the GraphQL type Ref.

func (*RepositoryRepositoryDefaultBranchRef) GetName

GetName returns RepositoryRepositoryDefaultBranchRef.Name, and is useful for accessing the field via an interface.

type RepositoryRepositoryDeploymentsDeploymentConnection added in v1.1.0

type RepositoryRepositoryDeploymentsDeploymentConnection struct {
	TotalCount int `json:"totalCount"`
}

RepositoryRepositoryDeploymentsDeploymentConnection includes the requested fields of the GraphQL type DeploymentConnection.

func (*RepositoryRepositoryDeploymentsDeploymentConnection) GetTotalCount added in v1.1.0

GetTotalCount returns RepositoryRepositoryDeploymentsDeploymentConnection.TotalCount, and is useful for accessing the field via an interface.

type RepositoryRepositoryEnvironmentsEnvironmentConnection added in v1.1.0

type RepositoryRepositoryEnvironmentsEnvironmentConnection struct {
	TotalCount int `json:"totalCount"`
}

RepositoryRepositoryEnvironmentsEnvironmentConnection includes the requested fields of the GraphQL type EnvironmentConnection.

func (*RepositoryRepositoryEnvironmentsEnvironmentConnection) GetTotalCount added in v1.1.0

GetTotalCount returns RepositoryRepositoryEnvironmentsEnvironmentConnection.TotalCount, and is useful for accessing the field via an interface.

type RepositoryRepositoryIssuesIssueConnection

type RepositoryRepositoryIssuesIssueConnection struct {
	TotalCount int `json:"totalCount"`
}

RepositoryRepositoryIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection.

func (*RepositoryRepositoryIssuesIssueConnection) GetTotalCount

GetTotalCount returns RepositoryRepositoryIssuesIssueConnection.TotalCount, and is useful for accessing the field via an interface.

type RepositoryRepositoryLanguagesLanguageConnection added in v1.2.0

type RepositoryRepositoryLanguagesLanguageConnection struct {
	Edges []*RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge `json:"edges"`
}

RepositoryRepositoryLanguagesLanguageConnection includes the requested fields of the GraphQL type LanguageConnection.

func (*RepositoryRepositoryLanguagesLanguageConnection) GetEdges added in v1.2.0

GetEdges returns RepositoryRepositoryLanguagesLanguageConnection.Edges, and is useful for accessing the field via an interface.

type RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge added in v1.2.0

type RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge struct {
	Size int                                                                           `json:"size"`
	Node *RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage `json:"node"`
}

RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge includes the requested fields of the GraphQL type LanguageEdge.

func (*RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetNode added in v1.2.0

GetNode returns RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge.Node, and is useful for accessing the field via an interface.

func (*RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetSize added in v1.2.0

GetSize returns RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdge.Size, and is useful for accessing the field via an interface.

type RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage added in v1.2.0

type RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage struct {
	Name  string  `json:"name"`
	Color *string `json:"color"`
}

RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage includes the requested fields of the GraphQL type Language.

func (*RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetColor added in v1.2.0

GetColor returns RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage.Color, and is useful for accessing the field via an interface.

func (*RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetName added in v1.2.0

GetName returns RepositoryRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage.Name, and is useful for accessing the field via an interface.

type RepositoryRepositoryLicenseInfoLicense

type RepositoryRepositoryLicenseInfoLicense struct {
	Name   string  `json:"name"`
	SpdxId *string `json:"spdxId"`
}

RepositoryRepositoryLicenseInfoLicense includes the requested fields of the GraphQL type License.

func (*RepositoryRepositoryLicenseInfoLicense) GetName

GetName returns RepositoryRepositoryLicenseInfoLicense.Name, and is useful for accessing the field via an interface.

func (*RepositoryRepositoryLicenseInfoLicense) GetSpdxId

GetSpdxId returns RepositoryRepositoryLicenseInfoLicense.SpdxId, and is useful for accessing the field via an interface.

type RepositoryRepositoryOwner

type RepositoryRepositoryOwner interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetLogin returns the interface-field "login" from its implementation.
	GetLogin() string
	// GetAvatarUrl returns the interface-field "avatarUrl" from its implementation.
	GetAvatarUrl() string
	// contains filtered or unexported methods
}

RepositoryRepositoryOwner includes the requested fields of the GraphQL interface RepositoryOwner.

RepositoryRepositoryOwner is implemented by the following types: RepositoryRepositoryOwnerOrganization RepositoryRepositoryOwnerUser

type RepositoryRepositoryOwnerOrganization

type RepositoryRepositoryOwnerOrganization struct {
	Typename  *string `json:"__typename"`
	Login     string  `json:"login"`
	AvatarUrl string  `json:"avatarUrl"`
}

RepositoryRepositoryOwnerOrganization includes the requested fields of the GraphQL type Organization.

func (*RepositoryRepositoryOwnerOrganization) GetAvatarUrl

GetAvatarUrl returns RepositoryRepositoryOwnerOrganization.AvatarUrl, and is useful for accessing the field via an interface.

func (*RepositoryRepositoryOwnerOrganization) GetLogin

GetLogin returns RepositoryRepositoryOwnerOrganization.Login, and is useful for accessing the field via an interface.

func (*RepositoryRepositoryOwnerOrganization) GetTypename

GetTypename returns RepositoryRepositoryOwnerOrganization.Typename, and is useful for accessing the field via an interface.

type RepositoryRepositoryOwnerUser

type RepositoryRepositoryOwnerUser struct {
	Typename  *string `json:"__typename"`
	Login     string  `json:"login"`
	AvatarUrl string  `json:"avatarUrl"`
}

RepositoryRepositoryOwnerUser includes the requested fields of the GraphQL type User.

func (*RepositoryRepositoryOwnerUser) GetAvatarUrl

func (v *RepositoryRepositoryOwnerUser) GetAvatarUrl() string

GetAvatarUrl returns RepositoryRepositoryOwnerUser.AvatarUrl, and is useful for accessing the field via an interface.

func (*RepositoryRepositoryOwnerUser) GetLogin

func (v *RepositoryRepositoryOwnerUser) GetLogin() string

GetLogin returns RepositoryRepositoryOwnerUser.Login, and is useful for accessing the field via an interface.

func (*RepositoryRepositoryOwnerUser) GetTypename

func (v *RepositoryRepositoryOwnerUser) GetTypename() *string

GetTypename returns RepositoryRepositoryOwnerUser.Typename, and is useful for accessing the field via an interface.

type RepositoryRepositoryPrimaryLanguage

type RepositoryRepositoryPrimaryLanguage struct {
	Name  string  `json:"name"`
	Color *string `json:"color"`
}

RepositoryRepositoryPrimaryLanguage includes the requested fields of the GraphQL type Language.

func (*RepositoryRepositoryPrimaryLanguage) GetColor

GetColor returns RepositoryRepositoryPrimaryLanguage.Color, and is useful for accessing the field via an interface.

func (*RepositoryRepositoryPrimaryLanguage) GetName

GetName returns RepositoryRepositoryPrimaryLanguage.Name, and is useful for accessing the field via an interface.

type RepositoryRepositoryPullRequestsPullRequestConnection

type RepositoryRepositoryPullRequestsPullRequestConnection struct {
	TotalCount int `json:"totalCount"`
}

RepositoryRepositoryPullRequestsPullRequestConnection includes the requested fields of the GraphQL type PullRequestConnection.

func (*RepositoryRepositoryPullRequestsPullRequestConnection) GetTotalCount

GetTotalCount returns RepositoryRepositoryPullRequestsPullRequestConnection.TotalCount, and is useful for accessing the field via an interface.

type RepositoryRepositoryWatchersWatcherConnection added in v1.2.0

type RepositoryRepositoryWatchersWatcherConnection struct {
	TotalCount int `json:"totalCount"`
}

RepositoryRepositoryWatchersWatcherConnection includes the requested fields of the GraphQL type WatcherConnection.

func (*RepositoryRepositoryWatchersWatcherConnection) GetTotalCount added in v1.2.0

GetTotalCount returns RepositoryRepositoryWatchersWatcherConnection.TotalCount, and is useful for accessing the field via an interface.

type RepositoryResponse

type RepositoryResponse struct {
	Repository *RepositoryRepository `json:"repository"`
}

RepositoryResponse is returned by Repository on success.

func Repository

func Repository(
	ctx_ context.Context,
	client_ graphql.Client,
	login string,
	repo string,
) (data_ *RepositoryResponse, err_ error)

Query: single repository for the M7 `repository` template.

Returns the union of fields the template's partials need to render the "repo identity + community + activity" panes. REST fallback fields (contributors count, recent commits) live in `internal/plugins/base/repository.go` and are NOT fetched here.

func (*RepositoryResponse) GetRepository

func (v *RepositoryResponse) GetRepository() *RepositoryRepository

GetRepository returns RepositoryResponse.Repository, and is useful for accessing the field via an interface.

type Resources

type Resources struct {
	// contains filtered or unexported fields
}

Resources is the concurrent-safe holder for the three GitHub API rate buckets (data-model E-008). The zero value is ready to use; call Resources.Refresh to populate from a live or mocked /rate_limit.

func NewResources

func NewResources() *Resources

NewResources returns a Resources with zero-value Quotas.

func (*Resources) Refresh

func (r *Resources) Refresh(ctx context.Context, c *REST) error

Refresh queries /rate_limit and atomically updates every bucket. On failure the previous values are retained and the error is returned unmodified so callers can decide whether to retry.

func (*Resources) Snapshot

func (r *Resources) Snapshot() ResourcesSnapshot

Snapshot returns a read-only copy of the current quota values. Returned Quotas are value types, so the caller cannot mutate the holder's internal state through them.

type ResourcesSnapshot

type ResourcesSnapshot struct {
	REST    Quota
	GraphQL Quota
	Search  Quota
}

ResourcesSnapshot is a value-type view of the three quotas at a point in time, used by callers that only need to read.

type SponsorsGoalKind added in v1.1.0

type SponsorsGoalKind string
const (
	SponsorsGoalKindTotalSponsorsCount       SponsorsGoalKind = "TOTAL_SPONSORS_COUNT"
	SponsorsGoalKindMonthlySponsorshipAmount SponsorsGoalKind = "MONTHLY_SPONSORSHIP_AMOUNT"
)

type TokenKind

type TokenKind int

TokenKind enumerates the credential shapes the project recognizes.

const (
	// TokenUnknown is returned for empty or unrecognized credentials.
	// Callers must treat it as a hard input error.
	TokenUnknown TokenKind = iota
	// TokenClassic covers the canonical "classic" personal access
	// tokens (ghp_, gho_, ghu_, ghs_, ghr_).
	TokenClassic
	// TokenFineGrained matches GitHub's newer fine-grained PATs. We
	// reject these early because upstream behavior depends on classic
	// scopes that fine-grained tokens cannot replicate yet.
	TokenFineGrained
	// TokenNone is the explicit "no token" sentinel for offline /
	// public-only runs.
	TokenNone
	// TokenMocked is the sentinel test helpers use to wire a fake
	// transport. mockedGuardRoundTripper panics on real GitHub
	// hostnames when this kind is active (FR-017).
	TokenMocked
)

func ClassifyToken

func ClassifyToken(raw string) TokenKind

ClassifyToken inspects raw and returns the TokenKind it belongs to. An empty string yields TokenUnknown so callers can branch on it the same way as on a malformed value.

func (TokenKind) String

func (k TokenKind) String() string

String returns a stable human-readable label for logging.

type UserCommitContributionsResponse added in v1.2.0

type UserCommitContributionsResponse struct {
	User *UserCommitContributionsUser `json:"user"`
}

UserCommitContributionsResponse is returned by UserCommitContributions on success.

func UserCommitContributions added in v1.2.0

func UserCommitContributions(
	ctx_ context.Context,
	client_ graphql.Client,
	login string,
	from time.Time,
	to time.Time,
) (data_ *UserCommitContributionsResponse, err_ error)

func (*UserCommitContributionsResponse) GetUser added in v1.2.0

GetUser returns UserCommitContributionsResponse.User, and is useful for accessing the field via an interface.

type UserCommitContributionsUser added in v1.2.0

type UserCommitContributionsUser struct {
	ContributionsCollection *UserCommitContributionsUserContributionsCollection `json:"contributionsCollection"`
}

UserCommitContributionsUser includes the requested fields of the GraphQL type User.

func (*UserCommitContributionsUser) GetContributionsCollection added in v1.2.0

GetContributionsCollection returns UserCommitContributionsUser.ContributionsCollection, and is useful for accessing the field via an interface.

type UserCommitContributionsUserContributionsCollection added in v1.2.0

type UserCommitContributionsUserContributionsCollection struct {
	TotalCommitContributions int `json:"totalCommitContributions"`
}

UserCommitContributionsUserContributionsCollection includes the requested fields of the GraphQL type ContributionsCollection.

func (*UserCommitContributionsUserContributionsCollection) GetTotalCommitContributions added in v1.2.0

func (v *UserCommitContributionsUserContributionsCollection) GetTotalCommitContributions() int

GetTotalCommitContributions returns UserCommitContributionsUserContributionsCollection.TotalCommitContributions, and is useful for accessing the field via an interface.

type UserFollowersResponse

type UserFollowersResponse struct {
	User *UserFollowersUser `json:"user"`
}

UserFollowersResponse is returned by UserFollowers on success.

func UserFollowers

func UserFollowers(
	ctx_ context.Context,
	client_ graphql.Client,
	login string,
	first int,
	size int,
) (data_ *UserFollowersResponse, err_ error)

func (*UserFollowersResponse) GetUser

GetUser returns UserFollowersResponse.User, and is useful for accessing the field via an interface.

type UserFollowersUser

type UserFollowersUser struct {
	Followers *UserFollowersUserFollowersUserConnection `json:"followers"`
	Following *UserFollowersUserFollowingUserConnection `json:"following"`
}

UserFollowersUser includes the requested fields of the GraphQL type User.

func (*UserFollowersUser) GetFollowers

GetFollowers returns UserFollowersUser.Followers, and is useful for accessing the field via an interface.

func (*UserFollowersUser) GetFollowing

GetFollowing returns UserFollowersUser.Following, and is useful for accessing the field via an interface.

type UserFollowersUserFollowersUserConnection

type UserFollowersUserFollowersUserConnection struct {
	TotalCount int                                                  `json:"totalCount"`
	Nodes      []*UserFollowersUserFollowersUserConnectionNodesUser `json:"nodes"`
}

UserFollowersUserFollowersUserConnection includes the requested fields of the GraphQL type UserConnection.

func (*UserFollowersUserFollowersUserConnection) GetNodes

GetNodes returns UserFollowersUserFollowersUserConnection.Nodes, and is useful for accessing the field via an interface.

func (*UserFollowersUserFollowersUserConnection) GetTotalCount

func (v *UserFollowersUserFollowersUserConnection) GetTotalCount() int

GetTotalCount returns UserFollowersUserFollowersUserConnection.TotalCount, and is useful for accessing the field via an interface.

type UserFollowersUserFollowersUserConnectionNodesUser

type UserFollowersUserFollowersUserConnectionNodesUser struct {
	Login     string  `json:"login"`
	Name      *string `json:"name"`
	AvatarUrl string  `json:"avatarUrl"`
}

UserFollowersUserFollowersUserConnectionNodesUser includes the requested fields of the GraphQL type User.

func (*UserFollowersUserFollowersUserConnectionNodesUser) GetAvatarUrl

GetAvatarUrl returns UserFollowersUserFollowersUserConnectionNodesUser.AvatarUrl, and is useful for accessing the field via an interface.

func (*UserFollowersUserFollowersUserConnectionNodesUser) GetLogin

GetLogin returns UserFollowersUserFollowersUserConnectionNodesUser.Login, and is useful for accessing the field via an interface.

func (*UserFollowersUserFollowersUserConnectionNodesUser) GetName

GetName returns UserFollowersUserFollowersUserConnectionNodesUser.Name, and is useful for accessing the field via an interface.

type UserFollowersUserFollowingUserConnection

type UserFollowersUserFollowingUserConnection struct {
	TotalCount int                                                  `json:"totalCount"`
	Nodes      []*UserFollowersUserFollowingUserConnectionNodesUser `json:"nodes"`
}

UserFollowersUserFollowingUserConnection includes the requested fields of the GraphQL type UserConnection.

func (*UserFollowersUserFollowingUserConnection) GetNodes

GetNodes returns UserFollowersUserFollowingUserConnection.Nodes, and is useful for accessing the field via an interface.

func (*UserFollowersUserFollowingUserConnection) GetTotalCount

func (v *UserFollowersUserFollowingUserConnection) GetTotalCount() int

GetTotalCount returns UserFollowersUserFollowingUserConnection.TotalCount, and is useful for accessing the field via an interface.

type UserFollowersUserFollowingUserConnectionNodesUser

type UserFollowersUserFollowingUserConnectionNodesUser struct {
	Login     string  `json:"login"`
	Name      *string `json:"name"`
	AvatarUrl string  `json:"avatarUrl"`
}

UserFollowersUserFollowingUserConnectionNodesUser includes the requested fields of the GraphQL type User.

func (*UserFollowersUserFollowingUserConnectionNodesUser) GetAvatarUrl

GetAvatarUrl returns UserFollowersUserFollowingUserConnectionNodesUser.AvatarUrl, and is useful for accessing the field via an interface.

func (*UserFollowersUserFollowingUserConnectionNodesUser) GetLogin

GetLogin returns UserFollowersUserFollowingUserConnectionNodesUser.Login, and is useful for accessing the field via an interface.

func (*UserFollowersUserFollowingUserConnectionNodesUser) GetName

GetName returns UserFollowersUserFollowingUserConnectionNodesUser.Name, and is useful for accessing the field via an interface.

type UserIndepthResponse

type UserIndepthResponse struct {
	User *UserIndepthUser `json:"user"`
}

UserIndepthResponse is returned by UserIndepth on success.

func UserIndepth

func UserIndepth(
	ctx_ context.Context,
	client_ graphql.Client,
	login string,
	from *time.Time,
	to *time.Time,
	reposFirst int,
	reposAfter *string,
) (data_ *UserIndepthResponse, err_ error)

func (*UserIndepthResponse) GetUser

func (v *UserIndepthResponse) GetUser() *UserIndepthUser

GetUser returns UserIndepthResponse.User, and is useful for accessing the field via an interface.

type UserIndepthUser

type UserIndepthUser struct {
	ContributionsCollection *UserIndepthUserContributionsCollection          `json:"contributionsCollection"`
	Repositories            *UserIndepthUserRepositoriesRepositoryConnection `json:"repositories"`
}

UserIndepthUser includes the requested fields of the GraphQL type User.

func (*UserIndepthUser) GetContributionsCollection

func (v *UserIndepthUser) GetContributionsCollection() *UserIndepthUserContributionsCollection

GetContributionsCollection returns UserIndepthUser.ContributionsCollection, and is useful for accessing the field via an interface.

func (*UserIndepthUser) GetRepositories

GetRepositories returns UserIndepthUser.Repositories, and is useful for accessing the field via an interface.

type UserIndepthUserContributionsCollection

type UserIndepthUserContributionsCollection struct {
	ContributionCalendar *UserIndepthUserContributionsCollectionContributionCalendar `json:"contributionCalendar"`
}

UserIndepthUserContributionsCollection includes the requested fields of the GraphQL type ContributionsCollection.

func (*UserIndepthUserContributionsCollection) GetContributionCalendar

GetContributionCalendar returns UserIndepthUserContributionsCollection.ContributionCalendar, and is useful for accessing the field via an interface.

type UserIndepthUserContributionsCollectionContributionCalendar

type UserIndepthUserContributionsCollectionContributionCalendar struct {
	TotalContributions int                                                                                        `json:"totalContributions"`
	Weeks              []*UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek `json:"weeks"`
}

UserIndepthUserContributionsCollectionContributionCalendar includes the requested fields of the GraphQL type ContributionCalendar.

func (*UserIndepthUserContributionsCollectionContributionCalendar) GetTotalContributions

GetTotalContributions returns UserIndepthUserContributionsCollectionContributionCalendar.TotalContributions, and is useful for accessing the field via an interface.

func (*UserIndepthUserContributionsCollectionContributionCalendar) GetWeeks

GetWeeks returns UserIndepthUserContributionsCollectionContributionCalendar.Weeks, and is useful for accessing the field via an interface.

type UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek

type UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek struct {
	FirstDay         string                                                                                                                            `json:"firstDay"`
	ContributionDays []*UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay `json:"contributionDays"`
}

UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek includes the requested fields of the GraphQL type ContributionCalendarWeek.

func (*UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek) GetContributionDays

GetContributionDays returns UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek.ContributionDays, and is useful for accessing the field via an interface.

func (*UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek) GetFirstDay

GetFirstDay returns UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek.FirstDay, and is useful for accessing the field via an interface.

type UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay

type UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay struct {
	Date              string `json:"date"`
	ContributionCount int    `json:"contributionCount"`
	Weekday           int    `json:"weekday"`
	Color             string `json:"color"`
}

UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay includes the requested fields of the GraphQL type ContributionCalendarDay.

func (*UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetColor

GetColor returns UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.Color, and is useful for accessing the field via an interface.

func (*UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetContributionCount

GetContributionCount returns UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.ContributionCount, and is useful for accessing the field via an interface.

func (*UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetDate

GetDate returns UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.Date, and is useful for accessing the field via an interface.

func (*UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetWeekday

GetWeekday returns UserIndepthUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.Weekday, and is useful for accessing the field via an interface.

type UserIndepthUserRepositoriesRepositoryConnection

type UserIndepthUserRepositoriesRepositoryConnection struct {
	TotalCount int                                                               `json:"totalCount"`
	PageInfo   *UserIndepthUserRepositoriesRepositoryConnectionPageInfo          `json:"pageInfo"`
	Nodes      []*UserIndepthUserRepositoriesRepositoryConnectionNodesRepository `json:"nodes"`
}

UserIndepthUserRepositoriesRepositoryConnection includes the requested fields of the GraphQL type RepositoryConnection.

func (*UserIndepthUserRepositoriesRepositoryConnection) GetNodes

GetNodes returns UserIndepthUserRepositoriesRepositoryConnection.Nodes, and is useful for accessing the field via an interface.

func (*UserIndepthUserRepositoriesRepositoryConnection) GetPageInfo

GetPageInfo returns UserIndepthUserRepositoriesRepositoryConnection.PageInfo, and is useful for accessing the field via an interface.

func (*UserIndepthUserRepositoriesRepositoryConnection) GetTotalCount

GetTotalCount returns UserIndepthUserRepositoriesRepositoryConnection.TotalCount, and is useful for accessing the field via an interface.

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepository

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepository struct {
	NameWithOwner    string                                                                                           `json:"nameWithOwner"`
	DefaultBranchRef *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef                  `json:"defaultBranchRef"`
	Issues           *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection             `json:"issues"`
	PullRequests     *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection `json:"pullRequests"`
}

UserIndepthUserRepositoriesRepositoryConnectionNodesRepository includes the requested fields of the GraphQL type Repository.

func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepository) GetDefaultBranchRef

GetDefaultBranchRef returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepository.DefaultBranchRef, and is useful for accessing the field via an interface.

func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepository) GetIssues

GetIssues returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepository.Issues, and is useful for accessing the field via an interface.

func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepository) GetNameWithOwner

GetNameWithOwner returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepository.NameWithOwner, and is useful for accessing the field via an interface.

func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepository) GetPullRequests

GetPullRequests returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepository.PullRequests, and is useful for accessing the field via an interface.

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef struct {
	Target *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject `json:"-"`
}

UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef includes the requested fields of the GraphQL type Ref.

func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef) GetTarget

GetTarget returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef.Target, and is useful for accessing the field via an interface.

func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef) MarshalJSON

func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRef) UnmarshalJSON

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob struct {
	Typename *string `json:"__typename"`
}

UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob includes the requested fields of the GraphQL type Blob.

func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob) GetTypename

GetTypename returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob.Typename, and is useful for accessing the field via an interface.

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit struct {
	Typename *string                                                                                                                   `json:"__typename"`
	History  *UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection `json:"history"`
}

UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit includes the requested fields of the GraphQL type Commit.

func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit) GetHistory

GetHistory returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit.History, and is useful for accessing the field via an interface.

func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit) GetTypename

GetTypename returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit.Typename, and is useful for accessing the field via an interface.

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection struct {
	TotalCount int `json:"totalCount"`
}

UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection includes the requested fields of the GraphQL type CommitHistoryConnection.

func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection) GetTotalCount

GetTotalCount returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection.TotalCount, and is useful for accessing the field via an interface.

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject includes the requested fields of the GraphQL interface GitObject.

UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject is implemented by the following types: UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag struct {
	Typename *string `json:"__typename"`
}

UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag includes the requested fields of the GraphQL type Tag.

func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag) GetTypename

GetTypename returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag.Typename, and is useful for accessing the field via an interface.

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree struct {
	Typename *string `json:"__typename"`
}

UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree includes the requested fields of the GraphQL type Tree.

func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree) GetTypename

GetTypename returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree.Typename, and is useful for accessing the field via an interface.

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection struct {
	TotalCount int `json:"totalCount"`
}

UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection.

func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection) GetTotalCount

GetTotalCount returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection.TotalCount, and is useful for accessing the field via an interface.

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection

type UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection struct {
	TotalCount int `json:"totalCount"`
}

UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection includes the requested fields of the GraphQL type PullRequestConnection.

func (*UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection) GetTotalCount

GetTotalCount returns UserIndepthUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection.TotalCount, and is useful for accessing the field via an interface.

type UserIndepthUserRepositoriesRepositoryConnectionPageInfo

type UserIndepthUserRepositoriesRepositoryConnectionPageInfo struct {
	HasNextPage bool    `json:"hasNextPage"`
	EndCursor   *string `json:"endCursor"`
}

UserIndepthUserRepositoriesRepositoryConnectionPageInfo includes the requested fields of the GraphQL type PageInfo.

func (*UserIndepthUserRepositoriesRepositoryConnectionPageInfo) GetEndCursor

GetEndCursor returns UserIndepthUserRepositoriesRepositoryConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.

func (*UserIndepthUserRepositoriesRepositoryConnectionPageInfo) GetHasNextPage

GetHasNextPage returns UserIndepthUserRepositoriesRepositoryConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.

type UserIsocalendarResponse added in v1.2.0

type UserIsocalendarResponse struct {
	User *UserIsocalendarUser `json:"user"`
}

UserIsocalendarResponse is returned by UserIsocalendar on success.

func UserIsocalendar added in v1.2.0

func UserIsocalendar(
	ctx_ context.Context,
	client_ graphql.Client,
	login string,
	from time.Time,
	to time.Time,
) (data_ *UserIsocalendarResponse, err_ error)

func (*UserIsocalendarResponse) GetUser added in v1.2.0

GetUser returns UserIsocalendarResponse.User, and is useful for accessing the field via an interface.

type UserIsocalendarUser added in v1.2.0

type UserIsocalendarUser struct {
	ContributionsCollection *UserIsocalendarUserContributionsCollection `json:"contributionsCollection"`
}

UserIsocalendarUser includes the requested fields of the GraphQL type User.

func (*UserIsocalendarUser) GetContributionsCollection added in v1.2.0

func (v *UserIsocalendarUser) GetContributionsCollection() *UserIsocalendarUserContributionsCollection

GetContributionsCollection returns UserIsocalendarUser.ContributionsCollection, and is useful for accessing the field via an interface.

type UserIsocalendarUserContributionsCollection added in v1.2.0

type UserIsocalendarUserContributionsCollection struct {
	ContributionCalendar *UserIsocalendarUserContributionsCollectionContributionCalendar `json:"contributionCalendar"`
}

UserIsocalendarUserContributionsCollection includes the requested fields of the GraphQL type ContributionsCollection.

func (*UserIsocalendarUserContributionsCollection) GetContributionCalendar added in v1.2.0

GetContributionCalendar returns UserIsocalendarUserContributionsCollection.ContributionCalendar, and is useful for accessing the field via an interface.

type UserIsocalendarUserContributionsCollectionContributionCalendar added in v1.2.0

type UserIsocalendarUserContributionsCollectionContributionCalendar struct {
	Weeks []*UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek `json:"weeks"`
}

UserIsocalendarUserContributionsCollectionContributionCalendar includes the requested fields of the GraphQL type ContributionCalendar.

func (*UserIsocalendarUserContributionsCollectionContributionCalendar) GetWeeks added in v1.2.0

GetWeeks returns UserIsocalendarUserContributionsCollectionContributionCalendar.Weeks, and is useful for accessing the field via an interface.

type UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek added in v1.2.0

type UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek struct {
	FirstDay         string                                                                                                                                `json:"firstDay"`
	ContributionDays []*UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay `json:"contributionDays"`
}

UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek includes the requested fields of the GraphQL type ContributionCalendarWeek.

func (*UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek) GetContributionDays added in v1.2.0

GetContributionDays returns UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek.ContributionDays, and is useful for accessing the field via an interface.

func (*UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek) GetFirstDay added in v1.2.0

GetFirstDay returns UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek.FirstDay, and is useful for accessing the field via an interface.

type UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay added in v1.2.0

type UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay struct {
	Date              string `json:"date"`
	ContributionCount int    `json:"contributionCount"`
	Weekday           int    `json:"weekday"`
	Color             string `json:"color"`
}

UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay includes the requested fields of the GraphQL type ContributionCalendarDay.

func (*UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetColor added in v1.2.0

GetColor returns UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.Color, and is useful for accessing the field via an interface.

func (*UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetContributionCount added in v1.2.0

GetContributionCount returns UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.ContributionCount, and is useful for accessing the field via an interface.

func (*UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetDate added in v1.2.0

GetDate returns UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.Date, and is useful for accessing the field via an interface.

func (*UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetWeekday added in v1.2.0

GetWeekday returns UserIsocalendarUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.Weekday, and is useful for accessing the field via an interface.

type UserListsResponse added in v1.1.0

type UserListsResponse struct {
	User *UserListsUser `json:"user"`
}

UserListsResponse is returned by UserLists on success.

func UserLists added in v1.1.0

func UserLists(
	ctx_ context.Context,
	client_ graphql.Client,
	login string,
	listsFirst int,
	itemsFirst int,
) (data_ *UserListsResponse, err_ error)

func (*UserListsResponse) GetUser added in v1.1.0

func (v *UserListsResponse) GetUser() *UserListsUser

GetUser returns UserListsResponse.User, and is useful for accessing the field via an interface.

type UserListsUser added in v1.1.0

type UserListsUser struct {
	Lists *UserListsUserListsUserListConnection `json:"lists"`
}

UserListsUser includes the requested fields of the GraphQL type User.

func (*UserListsUser) GetLists added in v1.1.0

GetLists returns UserListsUser.Lists, and is useful for accessing the field via an interface.

type UserListsUserListsUserListConnection added in v1.1.0

type UserListsUserListsUserListConnection struct {
	TotalCount int                                                  `json:"totalCount"`
	Nodes      []*UserListsUserListsUserListConnectionNodesUserList `json:"nodes"`
}

UserListsUserListsUserListConnection includes the requested fields of the GraphQL type UserListConnection.

func (*UserListsUserListsUserListConnection) GetNodes added in v1.1.0

GetNodes returns UserListsUserListsUserListConnection.Nodes, and is useful for accessing the field via an interface.

func (*UserListsUserListsUserListConnection) GetTotalCount added in v1.1.0

func (v *UserListsUserListsUserListConnection) GetTotalCount() int

GetTotalCount returns UserListsUserListsUserListConnection.TotalCount, and is useful for accessing the field via an interface.

type UserListsUserListsUserListConnectionNodesUserList added in v1.1.0

type UserListsUserListsUserListConnectionNodesUserList struct {
	Name        string                                                                         `json:"name"`
	Description *string                                                                        `json:"description"`
	IsPrivate   bool                                                                           `json:"isPrivate"`
	Items       *UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection `json:"items"`
}

UserListsUserListsUserListConnectionNodesUserList includes the requested fields of the GraphQL type UserList.

func (*UserListsUserListsUserListConnectionNodesUserList) GetDescription added in v1.1.0

GetDescription returns UserListsUserListsUserListConnectionNodesUserList.Description, and is useful for accessing the field via an interface.

func (*UserListsUserListsUserListConnectionNodesUserList) GetIsPrivate added in v1.1.0

GetIsPrivate returns UserListsUserListsUserListConnectionNodesUserList.IsPrivate, and is useful for accessing the field via an interface.

func (*UserListsUserListsUserListConnectionNodesUserList) GetItems added in v1.1.0

GetItems returns UserListsUserListsUserListConnectionNodesUserList.Items, and is useful for accessing the field via an interface.

func (*UserListsUserListsUserListConnectionNodesUserList) GetName added in v1.1.0

GetName returns UserListsUserListsUserListConnectionNodesUserList.Name, and is useful for accessing the field via an interface.

type UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection added in v1.1.0

type UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection struct {
	TotalCount int                                                                                               `json:"totalCount"`
	Nodes      []UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesUserListItems `json:"-"`
}

UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection includes the requested fields of the GraphQL type UserListItemsConnection.

func (*UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection) GetNodes added in v1.1.0

GetNodes returns UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection.Nodes, and is useful for accessing the field via an interface.

func (*UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection) GetTotalCount added in v1.1.0

GetTotalCount returns UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection.TotalCount, and is useful for accessing the field via an interface.

func (*UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection) MarshalJSON added in v1.1.0

func (*UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnection) UnmarshalJSON added in v1.1.0

type UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository added in v1.1.0

type UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository struct {
	Typename       *string `json:"__typename"`
	NameWithOwner  string  `json:"nameWithOwner"`
	StargazerCount int     `json:"stargazerCount"`
}

UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository includes the requested fields of the GraphQL type Repository.

func (*UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository) GetNameWithOwner added in v1.1.0

GetNameWithOwner returns UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository.NameWithOwner, and is useful for accessing the field via an interface.

func (*UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository) GetStargazerCount added in v1.1.0

GetStargazerCount returns UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository.StargazerCount, and is useful for accessing the field via an interface.

func (*UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository) GetTypename added in v1.1.0

GetTypename returns UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository.Typename, and is useful for accessing the field via an interface.

type UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesUserListItems added in v1.1.0

type UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesUserListItems interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesUserListItems includes the requested fields of the GraphQL interface UserListItems.

UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesUserListItems is implemented by the following types: UserListsUserListsUserListConnectionNodesUserListItemsUserListItemsConnectionNodesRepository

type UserNotableResponse added in v1.1.0

type UserNotableResponse struct {
	User *UserNotableUser `json:"user"`
}

UserNotableResponse is returned by UserNotable on success.

func UserNotable added in v1.1.0

func UserNotable(
	ctx_ context.Context,
	client_ graphql.Client,
	login string,
	first int,
	after *string,
	types []RepositoryContributionType,
	self *bool,
) (data_ *UserNotableResponse, err_ error)

UserNotable lists the repositories a user contributed to on *other* users'/organizations' accounts, mirroring upstream source/plugins/notable/queries/contributions.graphql. Own repositories are excluded unless includeUserRepositories ($self) is set; results are ordered by stargazers descending so the most notable contributions surface first. See issue #447.

func (*UserNotableResponse) GetUser added in v1.1.0

func (v *UserNotableResponse) GetUser() *UserNotableUser

GetUser returns UserNotableResponse.User, and is useful for accessing the field via an interface.

type UserNotableUser added in v1.1.0

type UserNotableUser struct {
	RepositoriesContributedTo *UserNotableUserRepositoriesContributedToRepositoryConnection `json:"repositoriesContributedTo"`
}

UserNotableUser includes the requested fields of the GraphQL type User.

func (*UserNotableUser) GetRepositoriesContributedTo added in v1.1.0

GetRepositoriesContributedTo returns UserNotableUser.RepositoriesContributedTo, and is useful for accessing the field via an interface.

type UserNotableUserRepositoriesContributedToRepositoryConnection added in v1.1.0

type UserNotableUserRepositoriesContributedToRepositoryConnection struct {
	TotalCount int                                                                            `json:"totalCount"`
	PageInfo   *UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo          `json:"pageInfo"`
	Nodes      []*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository `json:"nodes"`
}

UserNotableUserRepositoriesContributedToRepositoryConnection includes the requested fields of the GraphQL type RepositoryConnection.

func (*UserNotableUserRepositoriesContributedToRepositoryConnection) GetNodes added in v1.1.0

GetNodes returns UserNotableUserRepositoriesContributedToRepositoryConnection.Nodes, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnection) GetPageInfo added in v1.1.0

GetPageInfo returns UserNotableUserRepositoriesContributedToRepositoryConnection.PageInfo, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnection) GetTotalCount added in v1.1.0

GetTotalCount returns UserNotableUserRepositoriesContributedToRepositoryConnection.TotalCount, and is useful for accessing the field via an interface.

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository added in v1.1.0

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository struct {
	NameWithOwner    string                                                                                                        `json:"nameWithOwner"`
	Description      *string                                                                                                       `json:"description"`
	Url              string                                                                                                        `json:"url"`
	IsInOrganization bool                                                                                                          `json:"isInOrganization"`
	Owner            UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwner                              `json:"-"`
	StargazerCount   int                                                                                                           `json:"stargazerCount"`
	ForkCount        int                                                                                                           `json:"forkCount"`
	IsFork           bool                                                                                                          `json:"isFork"`
	IsPrivate        bool                                                                                                          `json:"isPrivate"`
	DefaultBranchRef *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef                  `json:"defaultBranchRef"`
	Issues           *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryIssuesIssueConnection             `json:"issues"`
	PullRequests     *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection `json:"pullRequests"`
}

UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository includes the requested fields of the GraphQL type Repository.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetDefaultBranchRef added in v1.1.0

GetDefaultBranchRef returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.DefaultBranchRef, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetDescription added in v1.1.0

GetDescription returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.Description, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetForkCount added in v1.1.0

GetForkCount returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.ForkCount, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetIsFork added in v1.1.0

GetIsFork returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.IsFork, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetIsInOrganization added in v1.1.0

GetIsInOrganization returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.IsInOrganization, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetIsPrivate added in v1.1.0

GetIsPrivate returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.IsPrivate, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetIssues added in v1.1.0

GetIssues returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.Issues, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetNameWithOwner added in v1.1.0

GetNameWithOwner returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.NameWithOwner, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetOwner added in v1.1.0

GetOwner returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.Owner, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetPullRequests added in v1.1.0

GetPullRequests returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.PullRequests, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetStargazerCount added in v1.1.0

GetStargazerCount returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.StargazerCount, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) GetUrl added in v1.1.0

GetUrl returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository.Url, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) MarshalJSON added in v1.1.0

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepository) UnmarshalJSON added in v1.1.0

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef added in v1.1.0

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef struct {
	Target *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject `json:"-"`
}

UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef includes the requested fields of the GraphQL type Ref.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef) GetTarget added in v1.1.0

GetTarget returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef.Target, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef) MarshalJSON added in v1.1.0

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRef) UnmarshalJSON added in v1.1.0

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob added in v1.1.0

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob struct {
	Typename *string `json:"__typename"`
}

UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob includes the requested fields of the GraphQL type Blob.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob) GetTypename added in v1.1.0

GetTypename returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob.Typename, and is useful for accessing the field via an interface.

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit added in v1.1.0

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit struct {
	Typename *string                                                                                                                                `json:"__typename"`
	History  *UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection `json:"history"`
}

UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit includes the requested fields of the GraphQL type Commit.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit) GetHistory added in v1.1.0

GetHistory returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit.History, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit) GetTypename added in v1.1.0

GetTypename returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit.Typename, and is useful for accessing the field via an interface.

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection added in v1.1.0

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection struct {
	TotalCount int `json:"totalCount"`
}

UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection includes the requested fields of the GraphQL type CommitHistoryConnection.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection) GetTotalCount added in v1.1.0

GetTotalCount returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommitHistoryCommitHistoryConnection.TotalCount, and is useful for accessing the field via an interface.

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject added in v1.1.0

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject includes the requested fields of the GraphQL interface GitObject.

UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetGitObject is implemented by the following types: UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetBlob UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetCommit UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag added in v1.1.0

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag struct {
	Typename *string `json:"__typename"`
}

UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag includes the requested fields of the GraphQL type Tag.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag) GetTypename added in v1.1.0

GetTypename returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTag.Typename, and is useful for accessing the field via an interface.

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree added in v1.1.0

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree struct {
	Typename *string `json:"__typename"`
}

UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree includes the requested fields of the GraphQL type Tree.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree) GetTypename added in v1.1.0

GetTypename returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryDefaultBranchRefTargetTree.Typename, and is useful for accessing the field via an interface.

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryIssuesIssueConnection added in v1.1.0

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryIssuesIssueConnection struct {
	TotalCount int `json:"totalCount"`
}

UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryIssuesIssueConnection) GetTotalCount added in v1.1.0

GetTotalCount returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryIssuesIssueConnection.TotalCount, and is useful for accessing the field via an interface.

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwner added in v1.1.0

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwner interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetLogin returns the interface-field "login" from its implementation.
	GetLogin() string
	// GetAvatarUrl returns the interface-field "avatarUrl" from its implementation.
	GetAvatarUrl() string
	// contains filtered or unexported methods
}

UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwner includes the requested fields of the GraphQL interface RepositoryOwner.

UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwner is implemented by the following types: UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization added in v1.1.0

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization struct {
	Typename  *string `json:"__typename"`
	Login     string  `json:"login"`
	AvatarUrl string  `json:"avatarUrl"`
}

UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization includes the requested fields of the GraphQL type Organization.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization) GetAvatarUrl added in v1.1.0

GetAvatarUrl returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization.AvatarUrl, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization) GetLogin added in v1.1.0

GetLogin returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization.Login, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization) GetTypename added in v1.1.0

GetTypename returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerOrganization.Typename, and is useful for accessing the field via an interface.

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser added in v1.1.0

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser struct {
	Typename  *string `json:"__typename"`
	Login     string  `json:"login"`
	AvatarUrl string  `json:"avatarUrl"`
}

UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser includes the requested fields of the GraphQL type User.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser) GetAvatarUrl added in v1.1.0

GetAvatarUrl returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser.AvatarUrl, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser) GetLogin added in v1.1.0

GetLogin returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser.Login, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser) GetTypename added in v1.1.0

GetTypename returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryOwnerUser.Typename, and is useful for accessing the field via an interface.

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection added in v1.1.0

type UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection struct {
	TotalCount int `json:"totalCount"`
}

UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection includes the requested fields of the GraphQL type PullRequestConnection.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection) GetTotalCount added in v1.1.0

GetTotalCount returns UserNotableUserRepositoriesContributedToRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection.TotalCount, and is useful for accessing the field via an interface.

type UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo added in v1.1.0

type UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo struct {
	HasNextPage bool    `json:"hasNextPage"`
	EndCursor   *string `json:"endCursor"`
}

UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo includes the requested fields of the GraphQL type PageInfo.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo) GetEndCursor added in v1.1.0

GetEndCursor returns UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.

func (*UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo) GetHasNextPage added in v1.1.0

GetHasNextPage returns UserNotableUserRepositoriesContributedToRepositoryConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.

type UserReactionsResponse

type UserReactionsResponse struct {
	User *UserReactionsUser `json:"user"`
}

UserReactionsResponse is returned by UserReactions on success.

func UserReactions

func UserReactions(
	ctx_ context.Context,
	client_ graphql.Client,
	login string,
	issuesFirst int,
	commentsFirst int,
) (data_ *UserReactionsResponse, err_ error)

func (*UserReactionsResponse) GetUser

GetUser returns UserReactionsResponse.User, and is useful for accessing the field via an interface.

type UserReactionsUser

type UserReactionsUser struct {
	Issues        *UserReactionsUserIssuesIssueConnectionWithReactions  `json:"issues"`
	IssueComments *UserReactionsUserIssueCommentsIssueCommentConnection `json:"issueComments"`
}

UserReactionsUser includes the requested fields of the GraphQL type User.

func (*UserReactionsUser) GetIssueComments

GetIssueComments returns UserReactionsUser.IssueComments, and is useful for accessing the field via an interface.

func (*UserReactionsUser) GetIssues

GetIssues returns UserReactionsUser.Issues, and is useful for accessing the field via an interface.

type UserReactionsUserIssueCommentsIssueCommentConnection

type UserReactionsUserIssueCommentsIssueCommentConnection struct {
	TotalCount int                                                                                   `json:"totalCount"`
	Nodes      []*UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactions `json:"nodes"`
}

UserReactionsUserIssueCommentsIssueCommentConnection includes the requested fields of the GraphQL type IssueCommentConnection.

func (*UserReactionsUserIssueCommentsIssueCommentConnection) GetNodes

GetNodes returns UserReactionsUserIssueCommentsIssueCommentConnection.Nodes, and is useful for accessing the field via an interface.

func (*UserReactionsUserIssueCommentsIssueCommentConnection) GetTotalCount

GetTotalCount returns UserReactionsUserIssueCommentsIssueCommentConnection.TotalCount, and is useful for accessing the field via an interface.

type UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactions

type UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactions struct {
	Reactions *UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection `json:"reactions"`
}

UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactions includes the requested fields of the GraphQL type IssueCommentWithReactions.

func (*UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactions) GetReactions

GetReactions returns UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactions.Reactions, and is useful for accessing the field via an interface.

type UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection

type UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection struct {
	TotalCount int                                                                                                                           `json:"totalCount"`
	Nodes      []*UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnectionNodesReaction `json:"nodes"`
}

UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection includes the requested fields of the GraphQL type ReactionConnection.

func (*UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection) GetNodes added in v1.1.0

GetNodes returns UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection.Nodes, and is useful for accessing the field via an interface.

func (*UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection) GetTotalCount

GetTotalCount returns UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnection.TotalCount, and is useful for accessing the field via an interface.

type UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnectionNodesReaction added in v1.1.0

type UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnectionNodesReaction struct {
	Content ReactionContent `json:"content"`
}

UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnectionNodesReaction includes the requested fields of the GraphQL type Reaction.

func (*UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnectionNodesReaction) GetContent added in v1.1.0

GetContent returns UserReactionsUserIssueCommentsIssueCommentConnectionNodesIssueCommentWithReactionsReactionsReactionConnectionNodesReaction.Content, and is useful for accessing the field via an interface.

type UserReactionsUserIssuesIssueConnectionWithReactions

type UserReactionsUserIssuesIssueConnectionWithReactions struct {
	TotalCount int                                                                           `json:"totalCount"`
	Nodes      []*UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactions `json:"nodes"`
}

UserReactionsUserIssuesIssueConnectionWithReactions includes the requested fields of the GraphQL type IssueConnectionWithReactions.

func (*UserReactionsUserIssuesIssueConnectionWithReactions) GetNodes

GetNodes returns UserReactionsUserIssuesIssueConnectionWithReactions.Nodes, and is useful for accessing the field via an interface.

func (*UserReactionsUserIssuesIssueConnectionWithReactions) GetTotalCount

GetTotalCount returns UserReactionsUserIssuesIssueConnectionWithReactions.TotalCount, and is useful for accessing the field via an interface.

type UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactions

type UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactions struct {
	Reactions *UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection `json:"reactions"`
}

UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactions includes the requested fields of the GraphQL type IssueWithReactions.

func (*UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactions) GetReactions

GetReactions returns UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactions.Reactions, and is useful for accessing the field via an interface.

type UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection

type UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection struct {
	TotalCount int                                                                                                                   `json:"totalCount"`
	Nodes      []*UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnectionNodesReaction `json:"nodes"`
}

UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection includes the requested fields of the GraphQL type ReactionConnection.

func (*UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection) GetNodes added in v1.1.0

GetNodes returns UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection.Nodes, and is useful for accessing the field via an interface.

func (*UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection) GetTotalCount

GetTotalCount returns UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnection.TotalCount, and is useful for accessing the field via an interface.

type UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnectionNodesReaction added in v1.1.0

type UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnectionNodesReaction struct {
	Content ReactionContent `json:"content"`
}

UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnectionNodesReaction includes the requested fields of the GraphQL type Reaction.

func (*UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnectionNodesReaction) GetContent added in v1.1.0

GetContent returns UserReactionsUserIssuesIssueConnectionWithReactionsNodesIssueWithReactionsReactionsReactionConnectionNodesReaction.Content, and is useful for accessing the field via an interface.

type UserRepositoriesResponse

type UserRepositoriesResponse struct {
	User *UserRepositoriesUser `json:"user"`
}

UserRepositoriesResponse is returned by UserRepositories on success.

func UserRepositories

func UserRepositories(
	ctx_ context.Context,
	client_ graphql.Client,
	login string,
	first int,
	after *string,
) (data_ *UserRepositoriesResponse, err_ error)

func (*UserRepositoriesResponse) GetUser

GetUser returns UserRepositoriesResponse.User, and is useful for accessing the field via an interface.

type UserRepositoriesUser

type UserRepositoriesUser struct {
	Repositories *UserRepositoriesUserRepositoriesRepositoryConnection `json:"repositories"`
}

UserRepositoriesUser includes the requested fields of the GraphQL type User.

func (*UserRepositoriesUser) GetRepositories

GetRepositories returns UserRepositoriesUser.Repositories, and is useful for accessing the field via an interface.

type UserRepositoriesUserRepositoriesRepositoryConnection

type UserRepositoriesUserRepositoriesRepositoryConnection struct {
	TotalCount int                                                                    `json:"totalCount"`
	PageInfo   *UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo          `json:"pageInfo"`
	Nodes      []*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository `json:"nodes"`
}

UserRepositoriesUserRepositoriesRepositoryConnection includes the requested fields of the GraphQL type RepositoryConnection.

func (*UserRepositoriesUserRepositoriesRepositoryConnection) GetNodes

GetNodes returns UserRepositoriesUserRepositoriesRepositoryConnection.Nodes, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnection) GetPageInfo

GetPageInfo returns UserRepositoriesUserRepositoriesRepositoryConnection.PageInfo, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnection) GetTotalCount

GetTotalCount returns UserRepositoriesUserRepositoriesRepositoryConnection.TotalCount, and is useful for accessing the field via an interface.

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository struct {
	DatabaseId      *int                                                                                                  `json:"databaseId"`
	Id              string                                                                                                `json:"id"`
	Name            string                                                                                                `json:"name"`
	NameWithOwner   string                                                                                                `json:"nameWithOwner"`
	Description     *string                                                                                               `json:"description"`
	Url             string                                                                                                `json:"url"`
	IsPrivate       bool                                                                                                  `json:"isPrivate"`
	IsFork          bool                                                                                                  `json:"isFork"`
	CreatedAt       time.Time                                                                                             `json:"createdAt"`
	PushedAt        *time.Time                                                                                            `json:"pushedAt"`
	UpdatedAt       *time.Time                                                                                            `json:"updatedAt"`
	StargazerCount  int                                                                                                   `json:"stargazerCount"`
	ForkCount       int                                                                                                   `json:"forkCount"`
	Issues          *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection             `json:"issues"`
	PullRequests    *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection `json:"pullRequests"`
	Watchers        *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection         `json:"watchers"`
	PrimaryLanguage *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage                   `json:"primaryLanguage"`
	Languages       *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection       `json:"languages"`
	DiskUsage       *int                                                                                                  `json:"diskUsage"`
	Releases        *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection         `json:"releases"`
	Packages        *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection         `json:"packages"`
	Deployments     *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection   `json:"deployments"`
	LicenseInfo     *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense                `json:"licenseInfo"`
}

UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository includes the requested fields of the GraphQL type Repository.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetCreatedAt added in v1.1.0

GetCreatedAt returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.CreatedAt, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetDatabaseId

GetDatabaseId returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.DatabaseId, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetDeployments added in v1.2.7

GetDeployments returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Deployments, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetDescription

GetDescription returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Description, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetDiskUsage added in v1.1.0

GetDiskUsage returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.DiskUsage, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetForkCount

GetForkCount returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.ForkCount, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetId

GetId returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Id, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetIsFork

GetIsFork returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.IsFork, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetIsPrivate

GetIsPrivate returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.IsPrivate, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetIssues added in v1.1.0

GetIssues returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Issues, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetLanguages

GetLanguages returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Languages, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetLicenseInfo added in v1.1.0

GetLicenseInfo returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.LicenseInfo, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetName

GetName returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Name, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetNameWithOwner

GetNameWithOwner returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.NameWithOwner, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetPackages added in v1.1.0

GetPackages returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Packages, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetPrimaryLanguage

GetPrimaryLanguage returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.PrimaryLanguage, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetPullRequests added in v1.1.0

GetPullRequests returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.PullRequests, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetPushedAt

GetPushedAt returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.PushedAt, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetReleases added in v1.1.0

GetReleases returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Releases, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetStargazerCount

GetStargazerCount returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.StargazerCount, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetUpdatedAt

GetUpdatedAt returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.UpdatedAt, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetUrl

GetUrl returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Url, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository) GetWatchers

GetWatchers returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepository.Watchers, and is useful for accessing the field via an interface.

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection added in v1.2.7

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection struct {
	TotalCount int `json:"totalCount"`
}

UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection includes the requested fields of the GraphQL type DeploymentConnection.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection) GetTotalCount added in v1.2.7

GetTotalCount returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryDeploymentsDeploymentConnection.TotalCount, and is useful for accessing the field via an interface.

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection added in v1.1.0

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection struct {
	TotalCount int `json:"totalCount"`
}

UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection) GetTotalCount added in v1.1.0

GetTotalCount returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryIssuesIssueConnection.TotalCount, and is useful for accessing the field via an interface.

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection struct {
	TotalCount int                                                                                                                `json:"totalCount"`
	TotalSize  int                                                                                                                `json:"totalSize"`
	Edges      []*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge `json:"edges"`
}

UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection includes the requested fields of the GraphQL type LanguageConnection.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetEdges

GetEdges returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection.Edges, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetTotalCount

GetTotalCount returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection.TotalCount, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection) GetTotalSize

GetTotalSize returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnection.TotalSize, and is useful for accessing the field via an interface.

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge struct {
	Size int                                                                                                                          `json:"size"`
	Node *UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage `json:"node"`
}

UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge includes the requested fields of the GraphQL type LanguageEdge.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetNode

GetNode returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge.Node, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge) GetSize

GetSize returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdge.Size, and is useful for accessing the field via an interface.

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage struct {
	Name  string  `json:"name"`
	Color *string `json:"color"`
}

UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage includes the requested fields of the GraphQL type Language.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetColor

GetColor returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage.Color, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage) GetName

GetName returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLanguagesLanguageConnectionEdgesLanguageEdgeNodeLanguage.Name, and is useful for accessing the field via an interface.

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense added in v1.1.0

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense struct {
	Name     string  `json:"name"`
	Key      *string `json:"key"`
	Nickname *string `json:"nickname"`
	SpdxId   *string `json:"spdxId"`
}

UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense includes the requested fields of the GraphQL type License.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetKey added in v1.1.0

GetKey returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense.Key, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetName added in v1.1.0

GetName returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense.Name, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetNickname added in v1.1.0

GetNickname returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense.Nickname, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense) GetSpdxId added in v1.1.0

GetSpdxId returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryLicenseInfoLicense.SpdxId, and is useful for accessing the field via an interface.

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection added in v1.1.0

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection struct {
	TotalCount int `json:"totalCount"`
}

UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection includes the requested fields of the GraphQL type PackageConnection.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection) GetTotalCount added in v1.1.0

GetTotalCount returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPackagesPackageConnection.TotalCount, and is useful for accessing the field via an interface.

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage struct {
	Name  string  `json:"name"`
	Color *string `json:"color"`
}

UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage includes the requested fields of the GraphQL type Language.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage) GetColor

GetColor returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage.Color, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage) GetName

GetName returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPrimaryLanguage.Name, and is useful for accessing the field via an interface.

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection added in v1.1.0

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection struct {
	TotalCount int `json:"totalCount"`
}

UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection includes the requested fields of the GraphQL type PullRequestConnection.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection) GetTotalCount added in v1.1.0

GetTotalCount returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryPullRequestsPullRequestConnection.TotalCount, and is useful for accessing the field via an interface.

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection added in v1.1.0

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection struct {
	TotalCount int `json:"totalCount"`
}

UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection includes the requested fields of the GraphQL type ReleaseConnection.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection) GetTotalCount added in v1.1.0

GetTotalCount returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryReleasesReleaseConnection.TotalCount, and is useful for accessing the field via an interface.

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection

type UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection struct {
	TotalCount int `json:"totalCount"`
}

UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection includes the requested fields of the GraphQL type WatcherConnection.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection) GetTotalCount

GetTotalCount returns UserRepositoriesUserRepositoriesRepositoryConnectionNodesRepositoryWatchersWatcherConnection.TotalCount, and is useful for accessing the field via an interface.

type UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo

type UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo struct {
	HasNextPage bool    `json:"hasNextPage"`
	EndCursor   *string `json:"endCursor"`
}

UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo includes the requested fields of the GraphQL type PageInfo.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo) GetEndCursor

GetEndCursor returns UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.

func (*UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo) GetHasNextPage

GetHasNextPage returns UserRepositoriesUserRepositoriesRepositoryConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.

type UserResponse

type UserResponse struct {
	User *UserUser `json:"user"`
}

UserResponse is returned by User on success.

func User

func User(
	ctx_ context.Context,
	client_ graphql.Client,
	login string,
) (data_ *UserResponse, err_ error)

func (*UserResponse) GetUser

func (v *UserResponse) GetUser() *UserUser

GetUser returns UserResponse.User, and is useful for accessing the field via an interface.

type UserStarredRepositoriesResponse

type UserStarredRepositoriesResponse struct {
	User *UserStarredRepositoriesUser `json:"user"`
}

UserStarredRepositoriesResponse is returned by UserStarredRepositories on success.

func UserStarredRepositories

func UserStarredRepositories(
	ctx_ context.Context,
	client_ graphql.Client,
	login string,
	first int,
) (data_ *UserStarredRepositoriesResponse, err_ error)

func (*UserStarredRepositoriesResponse) GetUser

GetUser returns UserStarredRepositoriesResponse.User, and is useful for accessing the field via an interface.

type UserStarredRepositoriesUser

type UserStarredRepositoriesUser struct {
	StarredRepositories *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection `json:"starredRepositories"`
}

UserStarredRepositoriesUser includes the requested fields of the GraphQL type User.

func (*UserStarredRepositoriesUser) GetStarredRepositories

GetStarredRepositories returns UserStarredRepositoriesUser.StarredRepositories, and is useful for accessing the field via an interface.

type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection

type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection struct {
	TotalCount int                                                                                                    `json:"totalCount"`
	Edges      []*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge `json:"edges"`
}

UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection includes the requested fields of the GraphQL type StarredRepositoryConnection.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection) GetEdges

GetEdges returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection.Edges, and is useful for accessing the field via an interface.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection) GetTotalCount

GetTotalCount returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnection.TotalCount, and is useful for accessing the field via an interface.

type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge

type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge struct {
	StarredAt time.Time                                                                                                          `json:"starredAt"`
	Node      *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository `json:"node"`
}

UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge includes the requested fields of the GraphQL type StarredRepositoryEdge.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge) GetNode

GetNode returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge.Node, and is useful for accessing the field via an interface.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge) GetStarredAt

GetStarredAt returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdge.StarredAt, and is useful for accessing the field via an interface.

type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository

type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository struct {
	NameWithOwner   string                                                                                                                                              `json:"nameWithOwner"`
	Description     *string                                                                                                                                             `json:"description"`
	Url             string                                                                                                                                              `json:"url"`
	IsFork          bool                                                                                                                                                `json:"isFork"`
	StargazerCount  int                                                                                                                                                 `json:"stargazerCount"`
	ForkCount       int                                                                                                                                                 `json:"forkCount"`
	PrimaryLanguage *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage                   `json:"primaryLanguage"`
	LicenseInfo     *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense                `json:"licenseInfo"`
	Issues          *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryIssuesIssueConnection             `json:"issues"`
	PullRequests    *UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPullRequestsPullRequestConnection `json:"pullRequests"`
}

UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository includes the requested fields of the GraphQL type Repository.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetDescription

GetDescription returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.Description, and is useful for accessing the field via an interface.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetForkCount

GetForkCount returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.ForkCount, and is useful for accessing the field via an interface.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetIsFork added in v1.1.0

GetIsFork returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.IsFork, and is useful for accessing the field via an interface.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetIssues added in v1.1.0

GetIssues returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.Issues, and is useful for accessing the field via an interface.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetLicenseInfo added in v1.1.0

GetLicenseInfo returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.LicenseInfo, and is useful for accessing the field via an interface.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetNameWithOwner

GetNameWithOwner returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.NameWithOwner, and is useful for accessing the field via an interface.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetPrimaryLanguage

GetPrimaryLanguage returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.PrimaryLanguage, and is useful for accessing the field via an interface.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetPullRequests added in v1.1.0

GetPullRequests returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.PullRequests, and is useful for accessing the field via an interface.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetStargazerCount

GetStargazerCount returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.StargazerCount, and is useful for accessing the field via an interface.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository) GetUrl

GetUrl returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepository.Url, and is useful for accessing the field via an interface.

type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryIssuesIssueConnection added in v1.1.0

type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryIssuesIssueConnection struct {
	TotalCount int `json:"totalCount"`
}

UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryIssuesIssueConnection) GetTotalCount added in v1.1.0

GetTotalCount returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryIssuesIssueConnection.TotalCount, and is useful for accessing the field via an interface.

type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense added in v1.1.0

type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense struct {
	Name   string  `json:"name"`
	SpdxId *string `json:"spdxId"`
}

UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense includes the requested fields of the GraphQL type License.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense) GetName added in v1.1.0

GetName returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense.Name, and is useful for accessing the field via an interface.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense) GetSpdxId added in v1.1.0

GetSpdxId returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryLicenseInfoLicense.SpdxId, and is useful for accessing the field via an interface.

type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage

type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage struct {
	Name  string  `json:"name"`
	Color *string `json:"color"`
}

UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage includes the requested fields of the GraphQL type Language.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage) GetColor

GetColor returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage.Color, and is useful for accessing the field via an interface.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage) GetName

GetName returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPrimaryLanguage.Name, and is useful for accessing the field via an interface.

type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPullRequestsPullRequestConnection added in v1.1.0

type UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPullRequestsPullRequestConnection struct {
	TotalCount int `json:"totalCount"`
}

UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPullRequestsPullRequestConnection includes the requested fields of the GraphQL type PullRequestConnection.

func (*UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPullRequestsPullRequestConnection) GetTotalCount added in v1.1.0

GetTotalCount returns UserStarredRepositoriesUserStarredRepositoriesStarredRepositoryConnectionEdgesStarredRepositoryEdgeNodeRepositoryPullRequestsPullRequestConnection.TotalCount, and is useful for accessing the field via an interface.

type UserUser

type UserUser struct {
	DatabaseId                *int                                                              `json:"databaseId"`
	Id                        string                                                            `json:"id"`
	Login                     string                                                            `json:"login"`
	Name                      *string                                                           `json:"name"`
	Location                  *string                                                           `json:"location"`
	CreatedAt                 time.Time                                                         `json:"createdAt"`
	AvatarUrl                 string                                                            `json:"avatarUrl"`
	WebsiteUrl                *string                                                           `json:"websiteUrl"`
	TwitterUsername           *string                                                           `json:"twitterUsername"`
	Email                     *string                                                           `json:"email"`
	Bio                       *string                                                           `json:"bio"`
	Company                   *string                                                           `json:"company"`
	Followers                 *UserUserFollowersUserConnection                                  `json:"followers"`
	Following                 *UserUserFollowingUserConnection                                  `json:"following"`
	Watching                  *UserUserWatchingRepositoryConnection                             `json:"watching"`
	SponsorshipsAsMaintainer  *UserUserSponsorshipsAsMaintainerSponsorshipConnection            `json:"sponsorshipsAsMaintainer"`
	Organizations             *UserUserOrganizationsOrganizationConnection                      `json:"organizations"`
	SponsorshipsAsSponsor     *UserUserSponsorshipsAsSponsorSponsorshipConnection               `json:"sponsorshipsAsSponsor"`
	StarredRepositories       *UserUserStarredRepositoriesStarredRepositoryConnection           `json:"starredRepositories"`
	IssueComments             *UserUserIssueCommentsIssueCommentConnection                      `json:"issueComments"`
	Gists                     *UserUserGistsGistConnection                                      `json:"gists"`
	DiscussionsStarted        *UserUserDiscussionsStartedRepositoryDiscussionConnection         `json:"discussionsStarted"`
	DiscussionsComments       *UserUserDiscussionsCommentsRepositoryDiscussionCommentConnection `json:"discussionsComments"`
	DiscussionAnswers         *UserUserDiscussionAnswersRepositoryDiscussionCommentConnection   `json:"discussionAnswers"`
	RepositoriesContributedTo *UserUserRepositoriesContributedToRepositoryConnection            `json:"repositoriesContributedTo"`
	ContributionsCollection   *UserUserContributionsCollection                                  `json:"contributionsCollection"`
}

UserUser includes the requested fields of the GraphQL type User.

func (*UserUser) GetAvatarUrl

func (v *UserUser) GetAvatarUrl() string

GetAvatarUrl returns UserUser.AvatarUrl, and is useful for accessing the field via an interface.

func (*UserUser) GetBio

func (v *UserUser) GetBio() *string

GetBio returns UserUser.Bio, and is useful for accessing the field via an interface.

func (*UserUser) GetCompany

func (v *UserUser) GetCompany() *string

GetCompany returns UserUser.Company, and is useful for accessing the field via an interface.

func (*UserUser) GetContributionsCollection added in v1.1.0

func (v *UserUser) GetContributionsCollection() *UserUserContributionsCollection

GetContributionsCollection returns UserUser.ContributionsCollection, and is useful for accessing the field via an interface.

func (*UserUser) GetCreatedAt

func (v *UserUser) GetCreatedAt() time.Time

GetCreatedAt returns UserUser.CreatedAt, and is useful for accessing the field via an interface.

func (*UserUser) GetDatabaseId

func (v *UserUser) GetDatabaseId() *int

GetDatabaseId returns UserUser.DatabaseId, and is useful for accessing the field via an interface.

func (*UserUser) GetDiscussionAnswers added in v1.2.7

GetDiscussionAnswers returns UserUser.DiscussionAnswers, and is useful for accessing the field via an interface.

func (*UserUser) GetDiscussionsComments added in v1.2.7

GetDiscussionsComments returns UserUser.DiscussionsComments, and is useful for accessing the field via an interface.

func (*UserUser) GetDiscussionsStarted added in v1.2.7

GetDiscussionsStarted returns UserUser.DiscussionsStarted, and is useful for accessing the field via an interface.

func (*UserUser) GetEmail

func (v *UserUser) GetEmail() *string

GetEmail returns UserUser.Email, and is useful for accessing the field via an interface.

func (*UserUser) GetFollowers added in v1.1.0

func (v *UserUser) GetFollowers() *UserUserFollowersUserConnection

GetFollowers returns UserUser.Followers, and is useful for accessing the field via an interface.

func (*UserUser) GetFollowing added in v1.1.0

func (v *UserUser) GetFollowing() *UserUserFollowingUserConnection

GetFollowing returns UserUser.Following, and is useful for accessing the field via an interface.

func (*UserUser) GetGists added in v1.2.7

func (v *UserUser) GetGists() *UserUserGistsGistConnection

GetGists returns UserUser.Gists, and is useful for accessing the field via an interface.

func (*UserUser) GetId

func (v *UserUser) GetId() string

GetId returns UserUser.Id, and is useful for accessing the field via an interface.

func (*UserUser) GetIssueComments added in v1.1.0

GetIssueComments returns UserUser.IssueComments, and is useful for accessing the field via an interface.

func (*UserUser) GetLocation

func (v *UserUser) GetLocation() *string

GetLocation returns UserUser.Location, and is useful for accessing the field via an interface.

func (*UserUser) GetLogin

func (v *UserUser) GetLogin() string

GetLogin returns UserUser.Login, and is useful for accessing the field via an interface.

func (*UserUser) GetName

func (v *UserUser) GetName() *string

GetName returns UserUser.Name, and is useful for accessing the field via an interface.

func (*UserUser) GetOrganizations added in v1.1.0

GetOrganizations returns UserUser.Organizations, and is useful for accessing the field via an interface.

func (*UserUser) GetRepositoriesContributedTo added in v1.1.0

func (v *UserUser) GetRepositoriesContributedTo() *UserUserRepositoriesContributedToRepositoryConnection

GetRepositoriesContributedTo returns UserUser.RepositoriesContributedTo, and is useful for accessing the field via an interface.

func (*UserUser) GetSponsorshipsAsMaintainer added in v1.1.0

func (v *UserUser) GetSponsorshipsAsMaintainer() *UserUserSponsorshipsAsMaintainerSponsorshipConnection

GetSponsorshipsAsMaintainer returns UserUser.SponsorshipsAsMaintainer, and is useful for accessing the field via an interface.

func (*UserUser) GetSponsorshipsAsSponsor added in v1.1.0

func (v *UserUser) GetSponsorshipsAsSponsor() *UserUserSponsorshipsAsSponsorSponsorshipConnection

GetSponsorshipsAsSponsor returns UserUser.SponsorshipsAsSponsor, and is useful for accessing the field via an interface.

func (*UserUser) GetStarredRepositories added in v1.1.0

GetStarredRepositories returns UserUser.StarredRepositories, and is useful for accessing the field via an interface.

func (*UserUser) GetTwitterUsername

func (v *UserUser) GetTwitterUsername() *string

GetTwitterUsername returns UserUser.TwitterUsername, and is useful for accessing the field via an interface.

func (*UserUser) GetWatching added in v1.1.0

GetWatching returns UserUser.Watching, and is useful for accessing the field via an interface.

func (*UserUser) GetWebsiteUrl

func (v *UserUser) GetWebsiteUrl() *string

GetWebsiteUrl returns UserUser.WebsiteUrl, and is useful for accessing the field via an interface.

type UserUserContributionsCollection added in v1.1.0

type UserUserContributionsCollection struct {
	TotalCommitContributions            int                                                  `json:"totalCommitContributions"`
	TotalPullRequestReviewContributions int                                                  `json:"totalPullRequestReviewContributions"`
	TotalPullRequestContributions       int                                                  `json:"totalPullRequestContributions"`
	TotalIssueContributions             int                                                  `json:"totalIssueContributions"`
	ContributionCalendar                *UserUserContributionsCollectionContributionCalendar `json:"contributionCalendar"`
}

UserUserContributionsCollection includes the requested fields of the GraphQL type ContributionsCollection.

func (*UserUserContributionsCollection) GetContributionCalendar added in v1.1.0

GetContributionCalendar returns UserUserContributionsCollection.ContributionCalendar, and is useful for accessing the field via an interface.

func (*UserUserContributionsCollection) GetTotalCommitContributions added in v1.1.0

func (v *UserUserContributionsCollection) GetTotalCommitContributions() int

GetTotalCommitContributions returns UserUserContributionsCollection.TotalCommitContributions, and is useful for accessing the field via an interface.

func (*UserUserContributionsCollection) GetTotalIssueContributions added in v1.1.0

func (v *UserUserContributionsCollection) GetTotalIssueContributions() int

GetTotalIssueContributions returns UserUserContributionsCollection.TotalIssueContributions, and is useful for accessing the field via an interface.

func (*UserUserContributionsCollection) GetTotalPullRequestContributions added in v1.1.0

func (v *UserUserContributionsCollection) GetTotalPullRequestContributions() int

GetTotalPullRequestContributions returns UserUserContributionsCollection.TotalPullRequestContributions, and is useful for accessing the field via an interface.

func (*UserUserContributionsCollection) GetTotalPullRequestReviewContributions added in v1.1.0

func (v *UserUserContributionsCollection) GetTotalPullRequestReviewContributions() int

GetTotalPullRequestReviewContributions returns UserUserContributionsCollection.TotalPullRequestReviewContributions, and is useful for accessing the field via an interface.

type UserUserContributionsCollectionContributionCalendar added in v1.1.0

type UserUserContributionsCollectionContributionCalendar struct {
	TotalContributions int                                                                                 `json:"totalContributions"`
	Weeks              []*UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek `json:"weeks"`
}

UserUserContributionsCollectionContributionCalendar includes the requested fields of the GraphQL type ContributionCalendar.

func (*UserUserContributionsCollectionContributionCalendar) GetTotalContributions added in v1.1.0

func (v *UserUserContributionsCollectionContributionCalendar) GetTotalContributions() int

GetTotalContributions returns UserUserContributionsCollectionContributionCalendar.TotalContributions, and is useful for accessing the field via an interface.

func (*UserUserContributionsCollectionContributionCalendar) GetWeeks added in v1.1.0

GetWeeks returns UserUserContributionsCollectionContributionCalendar.Weeks, and is useful for accessing the field via an interface.

type UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek added in v1.1.0

type UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek struct {
	FirstDay         string                                                                                                                     `json:"firstDay"`
	ContributionDays []*UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay `json:"contributionDays"`
}

UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek includes the requested fields of the GraphQL type ContributionCalendarWeek.

func (*UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek) GetContributionDays added in v1.1.0

GetContributionDays returns UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek.ContributionDays, and is useful for accessing the field via an interface.

func (*UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek) GetFirstDay added in v1.1.0

GetFirstDay returns UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeek.FirstDay, and is useful for accessing the field via an interface.

type UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay added in v1.1.0

type UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay struct {
	Date              string `json:"date"`
	ContributionCount int    `json:"contributionCount"`
	Weekday           int    `json:"weekday"`
	Color             string `json:"color"`
}

UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay includes the requested fields of the GraphQL type ContributionCalendarDay.

func (*UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetColor added in v1.1.0

GetColor returns UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.Color, and is useful for accessing the field via an interface.

func (*UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetContributionCount added in v1.1.0

GetContributionCount returns UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.ContributionCount, and is useful for accessing the field via an interface.

func (*UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetDate added in v1.1.0

GetDate returns UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.Date, and is useful for accessing the field via an interface.

func (*UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay) GetWeekday added in v1.1.0

GetWeekday returns UserUserContributionsCollectionContributionCalendarWeeksContributionCalendarWeekContributionDaysContributionCalendarDay.Weekday, and is useful for accessing the field via an interface.

type UserUserDiscussionAnswersRepositoryDiscussionCommentConnection added in v1.2.7

type UserUserDiscussionAnswersRepositoryDiscussionCommentConnection struct {
	TotalCount int `json:"totalCount"`
}

UserUserDiscussionAnswersRepositoryDiscussionCommentConnection includes the requested fields of the GraphQL type RepositoryDiscussionCommentConnection.

func (*UserUserDiscussionAnswersRepositoryDiscussionCommentConnection) GetTotalCount added in v1.2.7

GetTotalCount returns UserUserDiscussionAnswersRepositoryDiscussionCommentConnection.TotalCount, and is useful for accessing the field via an interface.

type UserUserDiscussionsCommentsRepositoryDiscussionCommentConnection added in v1.2.7

type UserUserDiscussionsCommentsRepositoryDiscussionCommentConnection struct {
	TotalCount int `json:"totalCount"`
}

UserUserDiscussionsCommentsRepositoryDiscussionCommentConnection includes the requested fields of the GraphQL type RepositoryDiscussionCommentConnection.

func (*UserUserDiscussionsCommentsRepositoryDiscussionCommentConnection) GetTotalCount added in v1.2.7

GetTotalCount returns UserUserDiscussionsCommentsRepositoryDiscussionCommentConnection.TotalCount, and is useful for accessing the field via an interface.

type UserUserDiscussionsStartedRepositoryDiscussionConnection added in v1.2.7

type UserUserDiscussionsStartedRepositoryDiscussionConnection struct {
	TotalCount int `json:"totalCount"`
}

UserUserDiscussionsStartedRepositoryDiscussionConnection includes the requested fields of the GraphQL type RepositoryDiscussionConnection.

func (*UserUserDiscussionsStartedRepositoryDiscussionConnection) GetTotalCount added in v1.2.7

GetTotalCount returns UserUserDiscussionsStartedRepositoryDiscussionConnection.TotalCount, and is useful for accessing the field via an interface.

type UserUserFollowersUserConnection added in v1.1.0

type UserUserFollowersUserConnection struct {
	TotalCount int `json:"totalCount"`
}

UserUserFollowersUserConnection includes the requested fields of the GraphQL type UserConnection.

func (*UserUserFollowersUserConnection) GetTotalCount added in v1.1.0

func (v *UserUserFollowersUserConnection) GetTotalCount() int

GetTotalCount returns UserUserFollowersUserConnection.TotalCount, and is useful for accessing the field via an interface.

type UserUserFollowingUserConnection added in v1.1.0

type UserUserFollowingUserConnection struct {
	TotalCount int `json:"totalCount"`
}

UserUserFollowingUserConnection includes the requested fields of the GraphQL type UserConnection.

func (*UserUserFollowingUserConnection) GetTotalCount added in v1.1.0

func (v *UserUserFollowingUserConnection) GetTotalCount() int

GetTotalCount returns UserUserFollowingUserConnection.TotalCount, and is useful for accessing the field via an interface.

type UserUserGistsGistConnection added in v1.2.7

type UserUserGistsGistConnection struct {
	TotalCount int `json:"totalCount"`
}

UserUserGistsGistConnection includes the requested fields of the GraphQL type GistConnection.

func (*UserUserGistsGistConnection) GetTotalCount added in v1.2.7

func (v *UserUserGistsGistConnection) GetTotalCount() int

GetTotalCount returns UserUserGistsGistConnection.TotalCount, and is useful for accessing the field via an interface.

type UserUserIssueCommentsIssueCommentConnection added in v1.1.0

type UserUserIssueCommentsIssueCommentConnection struct {
	TotalCount int `json:"totalCount"`
}

UserUserIssueCommentsIssueCommentConnection includes the requested fields of the GraphQL type IssueCommentConnection.

func (*UserUserIssueCommentsIssueCommentConnection) GetTotalCount added in v1.1.0

GetTotalCount returns UserUserIssueCommentsIssueCommentConnection.TotalCount, and is useful for accessing the field via an interface.

type UserUserOrganizationsOrganizationConnection added in v1.1.0

type UserUserOrganizationsOrganizationConnection struct {
	TotalCount int `json:"totalCount"`
}

UserUserOrganizationsOrganizationConnection includes the requested fields of the GraphQL type OrganizationConnection.

func (*UserUserOrganizationsOrganizationConnection) GetTotalCount added in v1.1.0

GetTotalCount returns UserUserOrganizationsOrganizationConnection.TotalCount, and is useful for accessing the field via an interface.

type UserUserRepositoriesContributedToRepositoryConnection added in v1.1.0

type UserUserRepositoriesContributedToRepositoryConnection struct {
	TotalCount int `json:"totalCount"`
}

UserUserRepositoriesContributedToRepositoryConnection includes the requested fields of the GraphQL type RepositoryConnection.

func (*UserUserRepositoriesContributedToRepositoryConnection) GetTotalCount added in v1.1.0

GetTotalCount returns UserUserRepositoriesContributedToRepositoryConnection.TotalCount, and is useful for accessing the field via an interface.

type UserUserSponsorshipsAsMaintainerSponsorshipConnection added in v1.1.0

type UserUserSponsorshipsAsMaintainerSponsorshipConnection struct {
	TotalCount int `json:"totalCount"`
}

UserUserSponsorshipsAsMaintainerSponsorshipConnection includes the requested fields of the GraphQL type SponsorshipConnection.

func (*UserUserSponsorshipsAsMaintainerSponsorshipConnection) GetTotalCount added in v1.1.0

GetTotalCount returns UserUserSponsorshipsAsMaintainerSponsorshipConnection.TotalCount, and is useful for accessing the field via an interface.

type UserUserSponsorshipsAsSponsorSponsorshipConnection added in v1.1.0

type UserUserSponsorshipsAsSponsorSponsorshipConnection struct {
	TotalCount int `json:"totalCount"`
}

UserUserSponsorshipsAsSponsorSponsorshipConnection includes the requested fields of the GraphQL type SponsorshipConnection.

func (*UserUserSponsorshipsAsSponsorSponsorshipConnection) GetTotalCount added in v1.1.0

GetTotalCount returns UserUserSponsorshipsAsSponsorSponsorshipConnection.TotalCount, and is useful for accessing the field via an interface.

type UserUserStarredRepositoriesStarredRepositoryConnection added in v1.1.0

type UserUserStarredRepositoriesStarredRepositoryConnection struct {
	TotalCount int `json:"totalCount"`
}

UserUserStarredRepositoriesStarredRepositoryConnection includes the requested fields of the GraphQL type StarredRepositoryConnection.

func (*UserUserStarredRepositoriesStarredRepositoryConnection) GetTotalCount added in v1.1.0

GetTotalCount returns UserUserStarredRepositoriesStarredRepositoryConnection.TotalCount, and is useful for accessing the field via an interface.

type UserUserWatchingRepositoryConnection added in v1.1.0

type UserUserWatchingRepositoryConnection struct {
	TotalCount int `json:"totalCount"`
}

UserUserWatchingRepositoryConnection includes the requested fields of the GraphQL type RepositoryConnection.

func (*UserUserWatchingRepositoryConnection) GetTotalCount added in v1.1.0

func (v *UserUserWatchingRepositoryConnection) GetTotalCount() int

GetTotalCount returns UserUserWatchingRepositoryConnection.TotalCount, and is useful for accessing the field via an interface.

type ViewerPinnedItemsResponse added in v1.1.0

type ViewerPinnedItemsResponse struct {
	Viewer *ViewerPinnedItemsViewerUser `json:"viewer"`
}

ViewerPinnedItemsResponse is returned by ViewerPinnedItems on success.

func ViewerPinnedItems added in v1.1.0

func ViewerPinnedItems(
	ctx_ context.Context,
	client_ graphql.Client,
	first int,
) (data_ *ViewerPinnedItemsResponse, err_ error)

func (*ViewerPinnedItemsResponse) GetViewer added in v1.1.0

GetViewer returns ViewerPinnedItemsResponse.Viewer, and is useful for accessing the field via an interface.

type ViewerPinnedItemsViewerUser added in v1.1.0

type ViewerPinnedItemsViewerUser struct {
	PinnedItems *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection `json:"pinnedItems"`
}

ViewerPinnedItemsViewerUser includes the requested fields of the GraphQL type User.

func (*ViewerPinnedItemsViewerUser) GetPinnedItems added in v1.1.0

GetPinnedItems returns ViewerPinnedItemsViewerUser.PinnedItems, and is useful for accessing the field via an interface.

type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection added in v1.1.0

type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection struct {
	TotalCount int                                                                             `json:"totalCount"`
	Nodes      []ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesPinnableItem `json:"-"`
}

ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection includes the requested fields of the GraphQL type PinnableItemConnection.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection) GetNodes added in v1.1.0

GetNodes returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection.Nodes, and is useful for accessing the field via an interface.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection) GetTotalCount added in v1.1.0

GetTotalCount returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection.TotalCount, and is useful for accessing the field via an interface.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection) MarshalJSON added in v1.1.0

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnection) UnmarshalJSON added in v1.1.0

type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesGist added in v1.1.0

type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesGist struct {
	Typename *string `json:"__typename"`
}

ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesGist includes the requested fields of the GraphQL type Gist.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesGist) GetTypename added in v1.1.0

GetTypename returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesGist.Typename, and is useful for accessing the field via an interface.

type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesPinnableItem added in v1.1.0

type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesPinnableItem interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesPinnableItem includes the requested fields of the GraphQL interface PinnableItem.

ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesPinnableItem is implemented by the following types: ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesGist ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository

type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository added in v1.1.0

type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository struct {
	Typename        *string                                                                                                       `json:"__typename"`
	NameWithOwner   string                                                                                                        `json:"nameWithOwner"`
	Description     *string                                                                                                       `json:"description"`
	Url             string                                                                                                        `json:"url"`
	IsPrivate       bool                                                                                                          `json:"isPrivate"`
	IsFork          bool                                                                                                          `json:"isFork"`
	CreatedAt       time.Time                                                                                                     `json:"createdAt"`
	StargazerCount  int                                                                                                           `json:"stargazerCount"`
	ForkCount       int                                                                                                           `json:"forkCount"`
	Issues          *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryIssuesIssueConnection             `json:"issues"`
	PullRequests    *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPullRequestsPullRequestConnection `json:"pullRequests"`
	LicenseInfo     *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryLicenseInfoLicense                `json:"licenseInfo"`
	PrimaryLanguage *ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage                   `json:"primaryLanguage"`
}

ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository includes the requested fields of the GraphQL type Repository.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetCreatedAt added in v1.2.9

GetCreatedAt returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.CreatedAt, and is useful for accessing the field via an interface.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetDescription added in v1.1.0

GetDescription returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.Description, and is useful for accessing the field via an interface.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetForkCount added in v1.1.0

GetForkCount returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.ForkCount, and is useful for accessing the field via an interface.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetIsFork added in v1.1.0

GetIsFork returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.IsFork, and is useful for accessing the field via an interface.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetIsPrivate added in v1.1.0

GetIsPrivate returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.IsPrivate, and is useful for accessing the field via an interface.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetIssues added in v1.2.9

GetIssues returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.Issues, and is useful for accessing the field via an interface.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetLicenseInfo added in v1.2.9

GetLicenseInfo returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.LicenseInfo, and is useful for accessing the field via an interface.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetNameWithOwner added in v1.1.0

GetNameWithOwner returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.NameWithOwner, and is useful for accessing the field via an interface.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetPrimaryLanguage added in v1.1.0

GetPrimaryLanguage returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.PrimaryLanguage, and is useful for accessing the field via an interface.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetPullRequests added in v1.2.9

GetPullRequests returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.PullRequests, and is useful for accessing the field via an interface.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetStargazerCount added in v1.1.0

GetStargazerCount returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.StargazerCount, and is useful for accessing the field via an interface.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetTypename added in v1.1.0

GetTypename returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.Typename, and is useful for accessing the field via an interface.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository) GetUrl added in v1.1.0

GetUrl returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepository.Url, and is useful for accessing the field via an interface.

type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryIssuesIssueConnection added in v1.2.9

type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryIssuesIssueConnection struct {
	TotalCount int `json:"totalCount"`
}

ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryIssuesIssueConnection) GetTotalCount added in v1.2.9

GetTotalCount returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryIssuesIssueConnection.TotalCount, and is useful for accessing the field via an interface.

type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryLicenseInfoLicense added in v1.2.9

type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryLicenseInfoLicense struct {
	Name     string  `json:"name"`
	SpdxId   *string `json:"spdxId"`
	Nickname *string `json:"nickname"`
}

ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryLicenseInfoLicense includes the requested fields of the GraphQL type License.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryLicenseInfoLicense) GetName added in v1.2.9

GetName returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryLicenseInfoLicense.Name, and is useful for accessing the field via an interface.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryLicenseInfoLicense) GetNickname added in v1.2.9

GetNickname returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryLicenseInfoLicense.Nickname, and is useful for accessing the field via an interface.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryLicenseInfoLicense) GetSpdxId added in v1.2.9

GetSpdxId returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryLicenseInfoLicense.SpdxId, and is useful for accessing the field via an interface.

type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage added in v1.1.0

type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage struct {
	Name  string  `json:"name"`
	Color *string `json:"color"`
}

ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage includes the requested fields of the GraphQL type Language.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage) GetColor added in v1.1.0

GetColor returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage.Color, and is useful for accessing the field via an interface.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage) GetName added in v1.1.0

GetName returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPrimaryLanguage.Name, and is useful for accessing the field via an interface.

type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPullRequestsPullRequestConnection added in v1.2.9

type ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPullRequestsPullRequestConnection struct {
	TotalCount int `json:"totalCount"`
}

ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPullRequestsPullRequestConnection includes the requested fields of the GraphQL type PullRequestConnection.

func (*ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPullRequestsPullRequestConnection) GetTotalCount added in v1.2.9

GetTotalCount returns ViewerPinnedItemsViewerUserPinnedItemsPinnableItemConnectionNodesRepositoryPullRequestsPullRequestConnection.TotalCount, and is useful for accessing the field via an interface.

type ViewerProjectsResponse added in v1.1.0

type ViewerProjectsResponse struct {
	Viewer *ViewerProjectsViewerUser `json:"viewer"`
}

ViewerProjectsResponse is returned by ViewerProjects on success.

func ViewerProjects added in v1.1.0

func ViewerProjects(
	ctx_ context.Context,
	client_ graphql.Client,
	first int,
) (data_ *ViewerProjectsResponse, err_ error)

func (*ViewerProjectsResponse) GetViewer added in v1.1.0

GetViewer returns ViewerProjectsResponse.Viewer, and is useful for accessing the field via an interface.

type ViewerProjectsViewerUser added in v1.1.0

type ViewerProjectsViewerUser struct {
	ProjectsV2 *ViewerProjectsViewerUserProjectsV2ProjectV2Connection `json:"projectsV2"`
}

ViewerProjectsViewerUser includes the requested fields of the GraphQL type User.

func (*ViewerProjectsViewerUser) GetProjectsV2 added in v1.1.0

GetProjectsV2 returns ViewerProjectsViewerUser.ProjectsV2, and is useful for accessing the field via an interface.

type ViewerProjectsViewerUserProjectsV2ProjectV2Connection added in v1.1.0

type ViewerProjectsViewerUserProjectsV2ProjectV2Connection struct {
	TotalCount int                                                                    `json:"totalCount"`
	Nodes      []*ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2 `json:"nodes"`
}

ViewerProjectsViewerUserProjectsV2ProjectV2Connection includes the requested fields of the GraphQL type ProjectV2Connection.

func (*ViewerProjectsViewerUserProjectsV2ProjectV2Connection) GetNodes added in v1.1.0

GetNodes returns ViewerProjectsViewerUserProjectsV2ProjectV2Connection.Nodes, and is useful for accessing the field via an interface.

func (*ViewerProjectsViewerUserProjectsV2ProjectV2Connection) GetTotalCount added in v1.1.0

GetTotalCount returns ViewerProjectsViewerUserProjectsV2ProjectV2Connection.TotalCount, and is useful for accessing the field via an interface.

type ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2 added in v1.1.0

type ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2 struct {
	Title            string    `json:"title"`
	ShortDescription *string   `json:"shortDescription"`
	UpdatedAt        time.Time `json:"updatedAt"`
	Url              string    `json:"url"`
	Closed           bool      `json:"closed"`
	Number           int       `json:"number"`
}

ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2 includes the requested fields of the GraphQL type ProjectV2.

func (*ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetClosed added in v1.1.0

GetClosed returns ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2.Closed, and is useful for accessing the field via an interface.

func (*ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetNumber added in v1.1.0

GetNumber returns ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2.Number, and is useful for accessing the field via an interface.

func (*ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetShortDescription added in v1.1.0

GetShortDescription returns ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2.ShortDescription, and is useful for accessing the field via an interface.

func (*ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetTitle added in v1.1.0

GetTitle returns ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2.Title, and is useful for accessing the field via an interface.

func (*ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetUpdatedAt added in v1.1.0

GetUpdatedAt returns ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2.UpdatedAt, and is useful for accessing the field via an interface.

func (*ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2) GetUrl added in v1.1.0

GetUrl returns ViewerProjectsViewerUserProjectsV2ProjectV2ConnectionNodesProjectV2.Url, and is useful for accessing the field via an interface.

type ViewerSponsorsResponse added in v1.1.0

type ViewerSponsorsResponse struct {
	Viewer *ViewerSponsorsViewerUser `json:"viewer"`
}

ViewerSponsorsResponse is returned by ViewerSponsors on success.

func ViewerSponsors added in v1.1.0

func ViewerSponsors(
	ctx_ context.Context,
	client_ graphql.Client,
	activeFirst int,
	pastFirst int,
) (data_ *ViewerSponsorsResponse, err_ error)

func (*ViewerSponsorsResponse) GetViewer added in v1.1.0

GetViewer returns ViewerSponsorsResponse.Viewer, and is useful for accessing the field via an interface.

type ViewerSponsorsViewerUser added in v1.1.0

type ViewerSponsorsViewerUser struct {
	SponsorsListing *ViewerSponsorsViewerUserSponsorsListing             `json:"sponsorsListing"`
	Active          *ViewerSponsorsViewerUserActiveSponsorshipConnection `json:"active"`
	Past            *ViewerSponsorsViewerUserPastSponsorshipConnection   `json:"past"`
}

ViewerSponsorsViewerUser includes the requested fields of the GraphQL type User.

func (*ViewerSponsorsViewerUser) GetActive added in v1.1.0

GetActive returns ViewerSponsorsViewerUser.Active, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUser) GetPast added in v1.1.0

GetPast returns ViewerSponsorsViewerUser.Past, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUser) GetSponsorsListing added in v1.1.0

GetSponsorsListing returns ViewerSponsorsViewerUser.SponsorsListing, and is useful for accessing the field via an interface.

type ViewerSponsorsViewerUserActiveSponsorshipConnection added in v1.1.0

type ViewerSponsorsViewerUserActiveSponsorshipConnection struct {
	TotalCount int                                                                    `json:"totalCount"`
	Nodes      []*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship `json:"nodes"`
}

ViewerSponsorsViewerUserActiveSponsorshipConnection includes the requested fields of the GraphQL type SponsorshipConnection.

func (*ViewerSponsorsViewerUserActiveSponsorshipConnection) GetNodes added in v1.1.0

GetNodes returns ViewerSponsorsViewerUserActiveSponsorshipConnection.Nodes, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserActiveSponsorshipConnection) GetTotalCount added in v1.1.0

GetTotalCount returns ViewerSponsorsViewerUserActiveSponsorshipConnection.TotalCount, and is useful for accessing the field via an interface.

type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship added in v1.1.0

type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship struct {
	CreatedAt     time.Time                                                                                `json:"createdAt"`
	IsActive      bool                                                                                     `json:"isActive"`
	SponsorEntity *ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor `json:"-"`
}

ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship includes the requested fields of the GraphQL type Sponsorship.

func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) GetCreatedAt added in v1.1.0

GetCreatedAt returns ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship.CreatedAt, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) GetIsActive added in v1.1.0

GetIsActive returns ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship.IsActive, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) GetSponsorEntity added in v1.1.0

GetSponsorEntity returns ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship.SponsorEntity, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) MarshalJSON added in v1.1.0

func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorship) UnmarshalJSON added in v1.1.0

type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization added in v1.1.0

type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization struct {
	Typename  *string `json:"__typename"`
	Login     string  `json:"login"`
	AvatarUrl string  `json:"avatarUrl"`
}

ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization includes the requested fields of the GraphQL type Organization.

func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetAvatarUrl added in v1.1.0

GetAvatarUrl returns ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization.AvatarUrl, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetLogin added in v1.1.0

GetLogin returns ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization.Login, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetTypename added in v1.1.0

GetTypename returns ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization.Typename, and is useful for accessing the field via an interface.

type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor added in v1.1.0

type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor includes the requested fields of the GraphQL interface Sponsor.

ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor is implemented by the following types: ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser

type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser added in v1.1.0

type ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser struct {
	Typename  *string `json:"__typename"`
	Login     string  `json:"login"`
	AvatarUrl string  `json:"avatarUrl"`
}

ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser includes the requested fields of the GraphQL type User.

func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetAvatarUrl added in v1.1.0

GetAvatarUrl returns ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser.AvatarUrl, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetLogin added in v1.1.0

GetLogin returns ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser.Login, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetTypename added in v1.1.0

GetTypename returns ViewerSponsorsViewerUserActiveSponsorshipConnectionNodesSponsorshipSponsorEntityUser.Typename, and is useful for accessing the field via an interface.

type ViewerSponsorsViewerUserPastSponsorshipConnection added in v1.1.0

type ViewerSponsorsViewerUserPastSponsorshipConnection struct {
	TotalCount int                                                                  `json:"totalCount"`
	Nodes      []*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship `json:"nodes"`
}

ViewerSponsorsViewerUserPastSponsorshipConnection includes the requested fields of the GraphQL type SponsorshipConnection.

func (*ViewerSponsorsViewerUserPastSponsorshipConnection) GetNodes added in v1.1.0

GetNodes returns ViewerSponsorsViewerUserPastSponsorshipConnection.Nodes, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserPastSponsorshipConnection) GetTotalCount added in v1.1.0

GetTotalCount returns ViewerSponsorsViewerUserPastSponsorshipConnection.TotalCount, and is useful for accessing the field via an interface.

type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship added in v1.1.0

type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship struct {
	CreatedAt     time.Time                                                                              `json:"createdAt"`
	IsActive      bool                                                                                   `json:"isActive"`
	SponsorEntity *ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor `json:"-"`
}

ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship includes the requested fields of the GraphQL type Sponsorship.

func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) GetCreatedAt added in v1.1.0

GetCreatedAt returns ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship.CreatedAt, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) GetIsActive added in v1.1.0

GetIsActive returns ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship.IsActive, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) GetSponsorEntity added in v1.1.0

GetSponsorEntity returns ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship.SponsorEntity, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) MarshalJSON added in v1.1.0

func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorship) UnmarshalJSON added in v1.1.0

type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization added in v1.1.0

type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization struct {
	Typename  *string `json:"__typename"`
	Login     string  `json:"login"`
	AvatarUrl string  `json:"avatarUrl"`
}

ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization includes the requested fields of the GraphQL type Organization.

func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetAvatarUrl added in v1.1.0

GetAvatarUrl returns ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization.AvatarUrl, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetLogin added in v1.1.0

GetLogin returns ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization.Login, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization) GetTypename added in v1.1.0

GetTypename returns ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization.Typename, and is useful for accessing the field via an interface.

type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor added in v1.1.0

type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor includes the requested fields of the GraphQL interface Sponsor.

ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntitySponsor is implemented by the following types: ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityOrganization ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser

type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser added in v1.1.0

type ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser struct {
	Typename  *string `json:"__typename"`
	Login     string  `json:"login"`
	AvatarUrl string  `json:"avatarUrl"`
}

ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser includes the requested fields of the GraphQL type User.

func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetAvatarUrl added in v1.1.0

GetAvatarUrl returns ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser.AvatarUrl, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetLogin added in v1.1.0

GetLogin returns ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser.Login, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser) GetTypename added in v1.1.0

GetTypename returns ViewerSponsorsViewerUserPastSponsorshipConnectionNodesSponsorshipSponsorEntityUser.Typename, and is useful for accessing the field via an interface.

type ViewerSponsorsViewerUserSponsorsListing added in v1.1.0

type ViewerSponsorsViewerUserSponsorsListing struct {
	ShortDescription string                                                         `json:"shortDescription"`
	FullDescription  string                                                         `json:"fullDescription"`
	ActiveGoal       *ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal `json:"activeGoal"`
}

ViewerSponsorsViewerUserSponsorsListing includes the requested fields of the GraphQL type SponsorsListing.

func (*ViewerSponsorsViewerUserSponsorsListing) GetActiveGoal added in v1.1.0

GetActiveGoal returns ViewerSponsorsViewerUserSponsorsListing.ActiveGoal, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserSponsorsListing) GetFullDescription added in v1.2.0

func (v *ViewerSponsorsViewerUserSponsorsListing) GetFullDescription() string

GetFullDescription returns ViewerSponsorsViewerUserSponsorsListing.FullDescription, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserSponsorsListing) GetShortDescription added in v1.1.0

func (v *ViewerSponsorsViewerUserSponsorsListing) GetShortDescription() string

GetShortDescription returns ViewerSponsorsViewerUserSponsorsListing.ShortDescription, and is useful for accessing the field via an interface.

type ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal added in v1.1.0

type ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal struct {
	Title           *string          `json:"title"`
	Description     *string          `json:"description"`
	Kind            SponsorsGoalKind `json:"kind"`
	PercentComplete int              `json:"percentComplete"`
}

ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal includes the requested fields of the GraphQL type SponsorsGoal.

func (*ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal) GetDescription added in v1.1.0

GetDescription returns ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal.Description, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal) GetKind added in v1.1.0

GetKind returns ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal.Kind, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal) GetPercentComplete added in v1.1.0

GetPercentComplete returns ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal.PercentComplete, and is useful for accessing the field via an interface.

func (*ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal) GetTitle added in v1.1.0

GetTitle returns ViewerSponsorsViewerUserSponsorsListingActiveGoalSponsorsGoal.Title, and is useful for accessing the field via an interface.

type ViewerSponsorshipsResponse added in v1.1.0

type ViewerSponsorshipsResponse struct {
	Viewer *ViewerSponsorshipsViewerUser `json:"viewer"`
}

ViewerSponsorshipsResponse is returned by ViewerSponsorships on success.

func ViewerSponsorships added in v1.1.0

func ViewerSponsorships(
	ctx_ context.Context,
	client_ graphql.Client,
	first int,
) (data_ *ViewerSponsorshipsResponse, err_ error)

func (*ViewerSponsorshipsResponse) GetViewer added in v1.1.0

GetViewer returns ViewerSponsorshipsResponse.Viewer, and is useful for accessing the field via an interface.

type ViewerSponsorshipsViewerUser added in v1.1.0

type ViewerSponsorshipsViewerUser struct {
	TotalSponsorshipAmountAsSponsorInCents *int                                                                    `json:"totalSponsorshipAmountAsSponsorInCents"`
	SponsorshipsAsSponsor                  *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection `json:"sponsorshipsAsSponsor"`
}

ViewerSponsorshipsViewerUser includes the requested fields of the GraphQL type User.

func (*ViewerSponsorshipsViewerUser) GetSponsorshipsAsSponsor added in v1.1.0

GetSponsorshipsAsSponsor returns ViewerSponsorshipsViewerUser.SponsorshipsAsSponsor, and is useful for accessing the field via an interface.

func (*ViewerSponsorshipsViewerUser) GetTotalSponsorshipAmountAsSponsorInCents added in v1.1.0

func (v *ViewerSponsorshipsViewerUser) GetTotalSponsorshipAmountAsSponsorInCents() *int

GetTotalSponsorshipAmountAsSponsorInCents returns ViewerSponsorshipsViewerUser.TotalSponsorshipAmountAsSponsorInCents, and is useful for accessing the field via an interface.

type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection added in v1.1.0

type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection struct {
	TotalCount int                                                                                       `json:"totalCount"`
	Nodes      []*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship `json:"nodes"`
}

ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection includes the requested fields of the GraphQL type SponsorshipConnection.

func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection) GetNodes added in v1.1.0

GetNodes returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection.Nodes, and is useful for accessing the field via an interface.

func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection) GetTotalCount added in v1.1.0

GetTotalCount returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnection.TotalCount, and is useful for accessing the field via an interface.

type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship added in v1.1.0

type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship struct {
	CreatedAt   time.Time                                                                                          `json:"createdAt"`
	IsActive    bool                                                                                               `json:"isActive"`
	Sponsorable *ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorable `json:"-"`
}

ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship includes the requested fields of the GraphQL type Sponsorship.

func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) GetCreatedAt added in v1.1.0

GetCreatedAt returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship.CreatedAt, and is useful for accessing the field via an interface.

func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) GetIsActive added in v1.1.0

GetIsActive returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship.IsActive, and is useful for accessing the field via an interface.

func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) GetSponsorable added in v1.1.0

GetSponsorable returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship.Sponsorable, and is useful for accessing the field via an interface.

func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) MarshalJSON added in v1.1.0

func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorship) UnmarshalJSON added in v1.1.0

type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorable added in v1.1.0

type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorable interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorable includes the requested fields of the GraphQL interface Sponsorable.

ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorable is implemented by the following types: ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser

type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization added in v1.1.0

type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization struct {
	Typename  *string `json:"__typename"`
	Login     string  `json:"login"`
	AvatarUrl string  `json:"avatarUrl"`
}

ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization includes the requested fields of the GraphQL type Organization.

func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization) GetAvatarUrl added in v1.1.0

GetAvatarUrl returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization.AvatarUrl, and is useful for accessing the field via an interface.

func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization) GetLogin added in v1.1.0

GetLogin returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization.Login, and is useful for accessing the field via an interface.

func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization) GetTypename added in v1.1.0

GetTypename returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableOrganization.Typename, and is useful for accessing the field via an interface.

type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser added in v1.1.0

type ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser struct {
	Typename  *string `json:"__typename"`
	Login     string  `json:"login"`
	AvatarUrl string  `json:"avatarUrl"`
}

ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser includes the requested fields of the GraphQL type User.

func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser) GetAvatarUrl added in v1.1.0

GetAvatarUrl returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser.AvatarUrl, and is useful for accessing the field via an interface.

func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser) GetLogin added in v1.1.0

GetLogin returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser.Login, and is useful for accessing the field via an interface.

func (*ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser) GetTypename added in v1.1.0

GetTypename returns ViewerSponsorshipsViewerUserSponsorshipsAsSponsorSponsorshipConnectionNodesSponsorshipSponsorableUser.Typename, and is useful for accessing the field via an interface.

type ViewerStargazersReposResponse added in v1.1.0

type ViewerStargazersReposResponse struct {
	Viewer *ViewerStargazersReposViewerUser `json:"viewer"`
}

ViewerStargazersReposResponse is returned by ViewerStargazersRepos on success.

func ViewerStargazersRepos added in v1.1.0

func ViewerStargazersRepos(
	ctx_ context.Context,
	client_ graphql.Client,
	repoFirst int,
	starFirst int,
) (data_ *ViewerStargazersReposResponse, err_ error)

func (*ViewerStargazersReposResponse) GetViewer added in v1.1.0

GetViewer returns ViewerStargazersReposResponse.Viewer, and is useful for accessing the field via an interface.

type ViewerStargazersReposViewerUser added in v1.1.0

type ViewerStargazersReposViewerUser struct {
	Repositories *ViewerStargazersReposViewerUserRepositoriesRepositoryConnection `json:"repositories"`
}

ViewerStargazersReposViewerUser includes the requested fields of the GraphQL type User.

func (*ViewerStargazersReposViewerUser) GetRepositories added in v1.1.0

GetRepositories returns ViewerStargazersReposViewerUser.Repositories, and is useful for accessing the field via an interface.

type ViewerStargazersReposViewerUserRepositoriesRepositoryConnection added in v1.1.0

type ViewerStargazersReposViewerUserRepositoriesRepositoryConnection struct {
	TotalCount int                                                                               `json:"totalCount"`
	Nodes      []*ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository `json:"nodes"`
}

ViewerStargazersReposViewerUserRepositoriesRepositoryConnection includes the requested fields of the GraphQL type RepositoryConnection.

func (*ViewerStargazersReposViewerUserRepositoriesRepositoryConnection) GetNodes added in v1.1.0

GetNodes returns ViewerStargazersReposViewerUserRepositoriesRepositoryConnection.Nodes, and is useful for accessing the field via an interface.

func (*ViewerStargazersReposViewerUserRepositoriesRepositoryConnection) GetTotalCount added in v1.1.0

GetTotalCount returns ViewerStargazersReposViewerUserRepositoriesRepositoryConnection.TotalCount, and is useful for accessing the field via an interface.

type ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository added in v1.1.0

type ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository struct {
	NameWithOwner  string                                                                                                       `json:"nameWithOwner"`
	StargazerCount int                                                                                                          `json:"stargazerCount"`
	Stargazers     *ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection `json:"stargazers"`
}

ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository includes the requested fields of the GraphQL type Repository.

func (*ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository) GetNameWithOwner added in v1.1.0

GetNameWithOwner returns ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository.NameWithOwner, and is useful for accessing the field via an interface.

func (*ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository) GetStargazerCount added in v1.1.0

GetStargazerCount returns ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository.StargazerCount, and is useful for accessing the field via an interface.

func (*ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository) GetStargazers added in v1.1.0

GetStargazers returns ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepository.Stargazers, and is useful for accessing the field via an interface.

type ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection added in v1.1.0

type ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection struct {
	TotalCount int                                                                                                                              `json:"totalCount"`
	Edges      []*ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnectionEdgesStargazerEdge `json:"edges"`
}

ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection includes the requested fields of the GraphQL type StargazerConnection.

func (*ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection) GetEdges added in v1.1.0

GetEdges returns ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection.Edges, and is useful for accessing the field via an interface.

func (*ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection) GetTotalCount added in v1.1.0

GetTotalCount returns ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnection.TotalCount, and is useful for accessing the field via an interface.

type ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnectionEdgesStargazerEdge added in v1.1.0

type ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnectionEdgesStargazerEdge struct {
	StarredAt time.Time `json:"starredAt"`
}

ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnectionEdgesStargazerEdge includes the requested fields of the GraphQL type StargazerEdge.

func (*ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnectionEdgesStargazerEdge) GetStarredAt added in v1.1.0

GetStarredAt returns ViewerStargazersReposViewerUserRepositoriesRepositoryConnectionNodesRepositoryStargazersStargazerConnectionEdgesStargazerEdge.StarredAt, and is useful for accessing the field via an interface.

Jump to

Keyboard shortcuts

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