Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collaborator ¶ added in v0.2.0
type Collaborators ¶ added in v0.2.0
type Collaborators struct {
TotalCount int `json:"total_count,omitempty"`
PageInfo PageInfo `json:"page_info,omitempty"`
Nodes []Collaborator `json:"nodes,omitempty"`
}
type LanguageEdge ¶ added in v0.2.0
type LanguageEdge struct {
Size int
Node LanguageNode
}
type LanguageNode ¶ added in v0.2.0
type Languages ¶ added in v0.2.0
type Languages struct {
Edges []LanguageEdge `json:"edges,omitempty"`
}
type Node ¶ added in v0.2.0
type Node struct {
Repository Repository `graphql:"... on Repository"`
}
type Organization ¶
type Organization struct {
Repositories Repositories `graphql:"repositories(first: 100, after: $repoCursor)" json:"repositories,omitempty"`
}
type Repositories ¶
type Repositories struct {
TotalCount int `json:"total_count,omitempty"`
PageInfo PageInfo `json:"page_info,omitempty"`
Nodes []Repository `json:"nodes,omitempty"`
}
type Repository ¶
type Repository struct {
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
URL string `json:"url,omitempty"`
SSHURL string `json:"ssh_url,omitempty"`
Owner Owner `json:"owner,omitempty"`
IsPrivate bool `json:"is_private,omitempty"`
CreatedAt time.Time `json:"created_at,omitempty"`
UpdatedAt time.Time `json:"updated_at,omitempty"`
PushedAt time.Time `json:"pushed_at,omitempty"`
RepositoryTopics RepositoryTopics `graphql:"repositoryTopics(first: 25)" json:"repository_topics,omitempty"`
Collaborators Collaborators `graphql:"collaborators(first: 15, affiliation: DIRECT)" json:"collaborators,omitempty"`
Languages Languages `graphql:"languages(first: 10, orderBy: {field: SIZE, direction: DESC})" json:"languages,omitempty"`
}
type RepositorySearch ¶ added in v0.2.0
type RepositoryTopic ¶ added in v0.1.2
type RepositoryTopics ¶ added in v0.1.2
type RepositoryTopics struct {
Nodes []RepositoryTopic `json:"nodes,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.