Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryParameters ¶
type QueryParameters struct { FirstCreationDate string LastCreationDate string Language string MinStars string MaxStars string Order string }
func (*QueryParameters) ToString ¶
func (q *QueryParameters) ToString() string
func (*QueryParameters) Validate ¶
func (q *QueryParameters) Validate() bool
type Repository ¶
type Repository struct { Name string `json:"name"` FullName string `json:"full_name"` CreatedAt string `json:"created_at"` StargazerCount int `json:"stargazer_count"` Language string `json:"language"` OpenIssues int `json:"open_issues"` ClosedIssues int `json:"closed_issues"` OpenPullRequestCount int `json:"open_pull_request_count"` ClosedPullRequestCount int `json:"closed_pull_request_count"` Forks int `json:"forks"` WatcherCount int `json:"watcher_count"` SubscriberCount int `json:"subscriber_count"` CommitCount int `json:"commit_count"` NetworkCount int `json:"network_count"` LatestRelease string `json:"latest_release"` TotalReleasesCount int `json:"total_releases_count"` ContributorCount int `json:"contributor_count"` ThirdPartyLOC int `json:"third_party_loc"` SelfWrittenLOC int `json:"self_written_loc"` }
type RepositoryResponse ¶
type RepositoryResponse struct { TotalCount int `json:"total_count"` Items []*Repository `json:"items"` }
Click to show internal directories.
Click to hide internal directories.