Documentation
¶
Index ¶
- Constants
- type CheckSubscriptionToProjectResponse
- type Dependency
- type LibrariesIO
- func (l *LibrariesIO) CheckSubscriptionToProject(platform string, name string) (CheckSubscriptionToProjectResponse, error)
- func (l *LibrariesIO) Platforms(p *PaginateOptions) (PlatformsResponse, error)
- func (l *LibrariesIO) Project(platform, name string) (ProjectResponse, error)
- func (l *LibrariesIO) ProjectContributors(platform, name string, p *PaginateOptions) (ProjectContributorsResponse, error)
- func (l *LibrariesIO) ProjectDependencies(platform, name, version string) (ProjectDependenciesResponse, error)
- func (l *LibrariesIO) ProjectDependentRepositories(platform, name string, p *PaginateOptions) (ProjectDependentRepositoriesResponse, error)
- func (l *LibrariesIO) ProjectDependents(platform, name string, p *PaginateOptions) (ProjectDependentsResponse, error)
- func (l *LibrariesIO) ProjectSearch(search string, p ProjectSearchOptions) (ProjectSearchResponse, error)
- func (l *LibrariesIO) ProjectSourceRank(platform, name string) (ProjectSourceRankResponse, error)
- func (l *LibrariesIO) Repository(owner, name string) (RepositoryResponse, error)
- func (l *LibrariesIO) RepositoryDependencies(owner, name string) (RepositoryDependenciesResponse, error)
- func (l *LibrariesIO) RepositoryProjects(owner, name string, p *PaginateOptions) (RepositoryProjectsResponse, error)
- func (l *LibrariesIO) SubscribeToProject(platform string, name string, include_prerelease bool) (SubscribeToProjectResponse, error)
- func (l *LibrariesIO) UnsubscribeFromProject(platform string, name string) error
- func (l *LibrariesIO) UpdateSubscription(platform string, name string, include_prerelease bool) (UpdateSubscriptionResponse, error)
- func (l *LibrariesIO) User(user string) (UserResponse, error)
- func (l *LibrariesIO) UserDependencies(user string, p *PaginateOptions) (UserDependenciesResponse, error)
- func (l *LibrariesIO) UserPackages(user string, p *PaginateOptions) (UserPackagesResponse, error)
- func (l *LibrariesIO) UserPackagesContributions(user string, p *PaginateOptions) (UserPackagesContributionsResponse, error)
- func (l *LibrariesIO) UserRepositories(user string, p *PaginateOptions) (UserRepositoriesResponse, error)
- func (l *LibrariesIO) UserRepositoryContributions(user string, p *PaginateOptions) (UserRepositoriesResponse, error)
- func (l *LibrariesIO) UserSubscriptions(p *PaginateOptions) (UserSubscriptionsResponse, error)
- type PaginateOptions
- type PlatformsResponse
- type PlatformsResponseElement
- type Project
- type ProjectContributorsResponse
- type ProjectContributorsResponseElement
- type ProjectDependenciesResponse
- type ProjectDependentRepositoriesResponse
- type ProjectDependentRepositoriesResponseElement
- type ProjectDependentsResponse
- type ProjectResponse
- type ProjectSearchOptions
- type ProjectSearchResponse
- type ProjectSourceRankResponse
- type QueryOptions
- type RepositoryDependenciesResponse
- type RepositoryProjectsResponse
- type RepositoryProjectsResponseElement
- type RepositoryResponse
- type SearchSort
- type SubscribeToProjectResponse
- type SubscriptionVersion
- type UpdateSubscriptionResponse
- type UserDependenciesResponse
- type UserPackagesContributionsResponse
- type UserPackagesResponse
- type UserRepositoriesResponse
- type UserRepositoryContributions
- type UserResponse
- type UserSubscriptionsResponse
- type UserSubscriptionsResponseElement
- type Version
Constants ¶
const API_URL = "https://libraries.io/api/"
API_URL is the default api server address.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckSubscriptionToProjectResponse ¶
type CheckSubscriptionToProjectResponse UserSubscriptionsResponseElement
CheckSubscriptionToProject() response struct.
type Dependency ¶
type Dependency struct {
ProjectName string `json:"project_name"`
Name string `json:"name"`
Platform string `json:"platform"`
Requirements string `json:"requirements"`
LatestStable *string `json:"latest_stable"`
Latest *string `json:"latest"`
Deprecated *bool `json:"deprecated"`
Outdated *bool `json:"outdated"`
Filepath string `json:"filepath"`
Kind string `json:"kind"`
NormalizedLicenses []string `json:"normalized_licenses"`
}
type LibrariesIO ¶
type LibrariesIO struct {
ApiKey string `url:"api_key"`
// contains filtered or unexported fields
}
func (*LibrariesIO) CheckSubscriptionToProject ¶
func (l *LibrariesIO) CheckSubscriptionToProject(platform string, name string) (CheckSubscriptionToProjectResponse, error)
Check if a users is subscribed to receive notifications about new releases of a project.
func (*LibrariesIO) Platforms ¶
func (l *LibrariesIO) Platforms(p *PaginateOptions) (PlatformsResponse, error)
Get a list of supported package managers.
func (*LibrariesIO) Project ¶
func (l *LibrariesIO) Project(platform, name string) (ProjectResponse, error)
Get information about a package and its versions.
func (*LibrariesIO) ProjectContributors ¶
func (l *LibrariesIO) ProjectContributors(platform, name string, p *PaginateOptions) (ProjectContributorsResponse, error)
Get users that have contributed to a given project.
func (*LibrariesIO) ProjectDependencies ¶
func (l *LibrariesIO) ProjectDependencies(platform, name, version string) (ProjectDependenciesResponse, error)
Get a list of dependecies for a version of a project, pass `latest` to get dependecy info for the latest avaialable version.
func (*LibrariesIO) ProjectDependentRepositories ¶
func (l *LibrariesIO) ProjectDependentRepositories(platform, name string, p *PaginateOptions) (ProjectDependentRepositoriesResponse, error)
Get repositories that depend on a given project.
func (*LibrariesIO) ProjectDependents ¶
func (l *LibrariesIO) ProjectDependents(platform, name string, p *PaginateOptions) (ProjectDependentsResponse, error)
Get packages that have at least one version that depends on a given project.
func (*LibrariesIO) ProjectSearch ¶
func (l *LibrariesIO) ProjectSearch(search string, p ProjectSearchOptions) (ProjectSearchResponse, error)
Search for projects.
func (*LibrariesIO) ProjectSourceRank ¶
func (l *LibrariesIO) ProjectSourceRank(platform, name string) (ProjectSourceRankResponse, error)
Get breakdown of SourceRank score for a given project.
func (*LibrariesIO) Repository ¶
func (l *LibrariesIO) Repository(owner, name string) (RepositoryResponse, error)
Get info for a repository. Currently only works for open source repositories.
func (*LibrariesIO) RepositoryDependencies ¶
func (l *LibrariesIO) RepositoryDependencies(owner, name string) (RepositoryDependenciesResponse, error)
Get a list of dependencies for a repositories. Currently only works for open source repositories.
func (*LibrariesIO) RepositoryProjects ¶
func (l *LibrariesIO) RepositoryProjects(owner, name string, p *PaginateOptions) (RepositoryProjectsResponse, error)
Get a list of packages referencing the given repository.
func (*LibrariesIO) SubscribeToProject ¶
func (l *LibrariesIO) SubscribeToProject(platform string, name string, include_prerelease bool) (SubscribeToProjectResponse, error)
Subscribe to receive notifications about new releases of a project.
func (*LibrariesIO) UnsubscribeFromProject ¶
func (l *LibrariesIO) UnsubscribeFromProject(platform string, name string) error
Stop receiving release notifications from a project.
func (*LibrariesIO) UpdateSubscription ¶
func (l *LibrariesIO) UpdateSubscription(platform string, name string, include_prerelease bool) (UpdateSubscriptionResponse, error)
Update the options for a subscription.
func (*LibrariesIO) User ¶
func (l *LibrariesIO) User(user string) (UserResponse, error)
Get information for a givern user or organization.
func (*LibrariesIO) UserDependencies ¶
func (l *LibrariesIO) UserDependencies(user string, p *PaginateOptions) (UserDependenciesResponse, error)
Get a list of unique packages that the given user's repositories list as a dependency. Ordered by frequency of use in those repositories.
func (*LibrariesIO) UserPackages ¶
func (l *LibrariesIO) UserPackages(user string, p *PaginateOptions) (UserPackagesResponse, error)
Get a list of packages referencing the given user's repositories.
func (*LibrariesIO) UserPackagesContributions ¶
func (l *LibrariesIO) UserPackagesContributions(user string, p *PaginateOptions) (UserPackagesContributionsResponse, error)
Get a list of packages that the given user has contributed to.
func (*LibrariesIO) UserRepositories ¶
func (l *LibrariesIO) UserRepositories(user string, p *PaginateOptions) (UserRepositoriesResponse, error)
Get repositories owned by a user.
func (*LibrariesIO) UserRepositoryContributions ¶
func (l *LibrariesIO) UserRepositoryContributions(user string, p *PaginateOptions) (UserRepositoriesResponse, error)
Get a list of repositories that the given user has contributed to.
func (*LibrariesIO) UserSubscriptions ¶
func (l *LibrariesIO) UserSubscriptions(p *PaginateOptions) (UserSubscriptionsResponse, error)
List packages that a user is subscribed to receive notifications about new releases.
type PaginateOptions ¶
type PlatformsResponse ¶
type PlatformsResponse []PlatformsResponseElement
type Project ¶
type Project struct {
ID int64 `json:"id"`
Name string `json:"name"`
Platform string `json:"platform"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
Description string `json:"description"`
Keywords []string `json:"keywords"`
Homepage string `json:"homepage"`
Licenses string `json:"licenses"`
RepositoryURL string `json:"repository_url"`
RepositoryID int64 `json:"repository_id"`
NormalizedLicenses []string `json:"normalized_licenses"`
VersionsCount int64 `json:"versions_count"`
Rank int64 `json:"rank"`
LatestReleasePublishedAt string `json:"latest_release_published_at"`
LatestReleaseNumber string `json:"latest_release_number"`
PmID interface{} `json:"pm_id"`
KeywordsArray []string `json:"keywords_array"`
DependentsCount int64 `json:"dependents_count"`
Language string `json:"language"`
Status interface{} `json:"status"`
LastSyncedAt string `json:"last_synced_at"`
DependentReposCount int64 `json:"dependent_repos_count"`
RuntimeDependenciesCount int64 `json:"runtime_dependencies_count"`
Score int64 `json:"score"`
ScoreLastCalculated string `json:"score_last_calculated"`
LatestStableReleaseNumber string `json:"latest_stable_release_number"`
LatestStableReleasePublishedAt string `json:"latest_stable_release_published_at"`
LicenseSetByAdmin bool `json:"license_set_by_admin"`
LicenseNormalized bool `json:"license_normalized"`
DeprecationReason interface{} `json:"deprecation_reason"`
PackageManagerURL string `json:"package_manager_url"`
Stars int64 `json:"stars"`
Forks int64 `json:"forks"`
LatestStableRelease string `json:"latest_stable_release"`
Versions []SubscriptionVersion `json:"versions"`
}
type ProjectContributorsResponse ¶
type ProjectContributorsResponse []ProjectContributorsResponseElement
ProjectContributors() response struct.
type ProjectContributorsResponseElement ¶
type ProjectContributorsResponseElement struct {
GithubID string `json:"github_id"`
Login string `json:"login"`
UserType string `json:"user_type"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
Name *string `json:"name"`
Company *string `json:"company"`
Blog *string `json:"blog"`
Location *string `json:"location"`
Hidden bool `json:"hidden"`
LastSyncedAt string `json:"last_synced_at"`
Email *string `json:"email"`
Bio *string `json:"bio"`
UUID string `json:"uuid"`
HostType string `json:"host_type"`
}
type ProjectDependenciesResponse ¶
type ProjectDependenciesResponse struct {
ID int64 `json:"id"`
Name string `json:"name"`
Platform string `json:"platform"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
Description string `json:"description"`
Keywords []string `json:"keywords"`
Homepage string `json:"homepage"`
Licenses string `json:"licenses"`
RepositoryURL string `json:"repository_url"`
RepositoryID int64 `json:"repository_id"`
NormalizedLicenses []string `json:"normalized_licenses"`
VersionsCount int64 `json:"versions_count"`
Rank int64 `json:"rank"`
LatestReleasePublishedAt string `json:"latest_release_published_at"`
LatestReleaseNumber string `json:"latest_release_number"`
PmID interface{} `json:"pm_id"`
KeywordsArray []string `json:"keywords_array"`
DependentsCount int64 `json:"dependents_count"`
Language string `json:"language"`
Status interface{} `json:"status"`
LastSyncedAt string `json:"last_synced_at"`
DependentReposCount int64 `json:"dependent_repos_count"`
RuntimeDependenciesCount int64 `json:"runtime_dependencies_count"`
Score int64 `json:"score"`
ScoreLastCalculated string `json:"score_last_calculated"`
LatestStableReleaseNumber string `json:"latest_stable_release_number"`
LatestStableReleasePublishedAt string `json:"latest_stable_release_published_at"`
LicenseSetByAdmin bool `json:"license_set_by_admin"`
LicenseNormalized bool `json:"license_normalized"`
DeprecationReason interface{} `json:"deprecation_reason"`
Dependencies []string `json:"dependencies"`
}
ProjectDependencies() response struct.
type ProjectDependentRepositoriesResponse ¶
type ProjectDependentRepositoriesResponse []ProjectDependentRepositoriesResponseElement
ProjectDependentRepositories() response struct.
type ProjectDependentRepositoriesResponseElement ¶
type ProjectDependentRepositoriesResponseElement struct {
FullName string `json:"full_name"`
Description string `json:"description"`
Fork bool `json:"fork"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
PushedAt string `json:"pushed_at"`
Homepage string `json:"homepage"`
Size int64 `json:"size"`
StargazersCount int64 `json:"stargazers_count"`
Language string `json:"language"`
HasIssues bool `json:"has_issues"`
HasWiki bool `json:"has_wiki"`
HasPages bool `json:"has_pages"`
ForksCount int64 `json:"forks_count"`
MirrorURL interface{} `json:"mirror_url"`
OpenIssuesCount int64 `json:"open_issues_count"`
DefaultBranch string `json:"default_branch"`
SubscribersCount int64 `json:"subscribers_count"`
UUID string `json:"uuid"`
SourceName interface{} `json:"source_name"`
License string `json:"license"`
Private bool `json:"private"`
ContributionsCount int64 `json:"contributions_count"`
HasReadme string `json:"has_readme"`
HasChangelog string `json:"has_changelog"`
HasContributing string `json:"has_contributing"`
HasLicense string `json:"has_license"`
HasCoc string `json:"has_coc"`
HasThreatModel interface{} `json:"has_threat_model"`
HasAudit interface{} `json:"has_audit"`
Status string `json:"status"`
LastSyncedAt string `json:"last_synced_at"`
Rank int64 `json:"rank"`
HostType string `json:"host_type"`
HostDomain interface{} `json:"host_domain"`
Name interface{} `json:"name"`
SCM string `json:"scm"`
ForkPolicy interface{} `json:"fork_policy"`
PullRequestsEnabled interface{} `json:"pull_requests_enabled"`
LogoURL interface{} `json:"logo_url"`
Keywords []string `json:"keywords"`
GithubContributionsCount int64 `json:"github_contributions_count"`
GithubID string `json:"github_id"`
}
type ProjectDependentsResponse ¶
type ProjectDependentsResponse []ProjectResponse
ProjectDependents() response struct.
type ProjectResponse ¶
type ProjectResponse struct {
DependentReposCount int64 `json:"dependent_repos_count"`
DependentsCount int64 `json:"dependents_count"`
DeprecationReason interface{} `json:"deprecation_reason"`
Description string `json:"description"`
Forks int64 `json:"forks"`
Homepage string `json:"homepage"`
Keywords []string `json:"keywords"`
Language string `json:"language"`
LatestDownloadURL string `json:"latest_download_url"`
LatestReleaseNumber string `json:"latest_release_number"`
LatestReleasePublishedAt string `json:"latest_release_published_at"`
LatestStableReleaseNumber string `json:"latest_stable_release_number"`
LatestStableReleasePublishedAt string `json:"latest_stable_release_published_at"`
LicenseNormalized bool `json:"license_normalized"`
Licenses string `json:"licenses"`
Name string `json:"name"`
NormalizedLicenses []string `json:"normalized_licenses"`
PackageManagerURL string `json:"package_manager_url"`
Platform string `json:"platform"`
Rank int64 `json:"rank"`
RepositoryLicense string `json:"repository_license"`
RepositoryURL string `json:"repository_url"`
Stars int64 `json:"stars"`
Status interface{} `json:"status"`
Versions []Version `json:"versions"`
}
Project() response struct.
type ProjectSearchOptions ¶
type ProjectSearchOptions struct {
ApiKey string `url:"api_key,omitempty"`
Page int `url:"page,omitempty"`
PerPage int `url:"per_page,omitempty"`
Sort SearchSort `url:"sort,omitempty"`
Languages []string `url:"languages,omitempty" del:","`
Licenses []string `url:"licenses,omitempty" del:","`
Keywords []string `url:"keywords,omitempty" del:","`
Platforms []string `url:"platforms,omitempty" del:","`
}
type ProjectSearchResponse ¶
type ProjectSearchResponse []ProjectResponse
ProjectSearch() response struct.
type ProjectSourceRankResponse ¶
type ProjectSourceRankResponse struct {
BasicInfoPresent int64 `json:"basic_info_present"`
RepositoryPresent int64 `json:"repository_present"`
ReadmePresent int64 `json:"readme_present"`
LicensePresent int64 `json:"license_present"`
VersionsPresent int64 `json:"versions_present"`
FollowsSemver int64 `json:"follows_semver"`
RecentRelease int64 `json:"recent_release"`
NotBrandNew int64 `json:"not_brand_new"`
OnePointOh int64 `json:"one_point_oh"`
DependentProjects int64 `json:"dependent_projects"`
DependentRepositories int64 `json:"dependent_repositories"`
Stars int64 `json:"stars"`
Contributors int64 `json:"contributors"`
Subscribers int64 `json:"subscribers"`
AllPrereleases int64 `json:"all_prereleases"`
AnyOutdatedDependencies int64 `json:"any_outdated_dependencies"`
IsDeprecated int64 `json:"is_deprecated"`
IsUnmaintained int64 `json:"is_unmaintained"`
IsRemoved int64 `json:"is_removed"`
}
ProjectSourceRank() response struct.
type QueryOptions ¶
type RepositoryDependenciesResponse ¶
type RepositoryDependenciesResponse struct {
FullName string `json:"full_name"`
Description string `json:"description"`
Fork bool `json:"fork"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
PushedAt string `json:"pushed_at"`
Homepage string `json:"homepage"`
Size int64 `json:"size"`
StargazersCount int64 `json:"stargazers_count"`
Language string `json:"language"`
HasIssues bool `json:"has_issues"`
HasWiki bool `json:"has_wiki"`
HasPages bool `json:"has_pages"`
ForksCount int64 `json:"forks_count"`
MirrorURL interface{} `json:"mirror_url"`
OpenIssuesCount int64 `json:"open_issues_count"`
DefaultBranch string `json:"default_branch"`
SubscribersCount int64 `json:"subscribers_count"`
UUID string `json:"uuid"`
SourceName interface{} `json:"source_name"`
License string `json:"license"`
Private bool `json:"private"`
ContributionsCount int64 `json:"contributions_count"`
HasReadme string `json:"has_readme"`
HasChangelog string `json:"has_changelog"`
HasContributing string `json:"has_contributing"`
HasLicense string `json:"has_license"`
HasCoc string `json:"has_coc"`
HasThreatModel interface{} `json:"has_threat_model"`
HasAudit interface{} `json:"has_audit"`
Status interface{} `json:"status"`
LastSyncedAt string `json:"last_synced_at"`
Rank int64 `json:"rank"`
HostType string `json:"host_type"`
HostDomain interface{} `json:"host_domain"`
Name interface{} `json:"name"`
SCM string `json:"scm"`
ForkPolicy interface{} `json:"fork_policy"`
GithubID string `json:"github_id"`
PullRequestsEnabled interface{} `json:"pull_requests_enabled"`
LogoURL interface{} `json:"logo_url"`
GithubContributionsCount int64 `json:"github_contributions_count"`
Keywords []string `json:"keywords"`
Dependencies []Dependency `json:"dependencies"`
}
RepositoryDependencies() response struct.
type RepositoryProjectsResponse ¶
type RepositoryProjectsResponse []RepositoryProjectsResponseElement
type RepositoryProjectsResponseElement ¶
type RepositoryProjectsResponseElement struct {
DependentReposCount int64 `json:"dependent_repos_count"`
DependentsCount int64 `json:"dependents_count"`
DeprecationReason interface{} `json:"deprecation_reason"`
Description string `json:"description"`
Forks int64 `json:"forks"`
Homepage string `json:"homepage"`
Keywords []string `json:"keywords"`
Language string `json:"language"`
LatestDownloadURL string `json:"latest_download_url"`
LatestReleaseNumber string `json:"latest_release_number"`
LatestReleasePublishedAt string `json:"latest_release_published_at"`
LatestStableReleaseNumber string `json:"latest_stable_release_number"`
LatestStableReleasePublishedAt string `json:"latest_stable_release_published_at"`
LicenseNormalized bool `json:"license_normalized"`
Licenses string `json:"licenses"`
Name string `json:"name"`
NormalizedLicenses []string `json:"normalized_licenses"`
PackageManagerURL string `json:"package_manager_url"`
Platform string `json:"platform"`
Rank int64 `json:"rank"`
RepositoryLicense string `json:"repository_license"`
RepositoryURL string `json:"repository_url"`
Stars int64 `json:"stars"`
Status interface{} `json:"status"`
Versions []Version `json:"versions"`
}
type RepositoryResponse ¶
type RepositoryResponse struct {
FullName string `json:"full_name"`
Description string `json:"description"`
Fork bool `json:"fork"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
PushedAt string `json:"pushed_at"`
Homepage string `json:"homepage"`
Size int64 `json:"size"`
StargazersCount int64 `json:"stargazers_count"`
Language string `json:"language"`
HasIssues bool `json:"has_issues"`
HasWiki bool `json:"has_wiki"`
HasPages bool `json:"has_pages"`
ForksCount int64 `json:"forks_count"`
MirrorURL interface{} `json:"mirror_url"`
OpenIssuesCount int64 `json:"open_issues_count"`
DefaultBranch string `json:"default_branch"`
SubscribersCount int64 `json:"subscribers_count"`
UUID string `json:"uuid"`
SourceName interface{} `json:"source_name"`
License string `json:"license"`
Private bool `json:"private"`
ContributionsCount int64 `json:"contributions_count"`
HasReadme string `json:"has_readme"`
HasChangelog string `json:"has_changelog"`
HasContributing string `json:"has_contributing"`
HasLicense string `json:"has_license"`
HasCoc string `json:"has_coc"`
HasThreatModel interface{} `json:"has_threat_model"`
HasAudit interface{} `json:"has_audit"`
Status interface{} `json:"status"`
LastSyncedAt string `json:"last_synced_at"`
Rank int64 `json:"rank"`
HostType string `json:"host_type"`
HostDomain interface{} `json:"host_domain"`
Name interface{} `json:"name"`
SCM string `json:"scm"`
ForkPolicy interface{} `json:"fork_policy"`
PullRequestsEnabled interface{} `json:"pull_requests_enabled"`
LogoURL interface{} `json:"logo_url"`
Keywords []string `json:"keywords"`
GithubContributionsCount int64 `json:"github_contributions_count"`
GithubID string `json:"github_id"`
}
Repository() response struct.
type SearchSort ¶
type SearchSort string
const ( SortRank SearchSort = "rank" SortStars SearchSort = "stars" SortDependentsCount SearchSort = "dependents_count" SortDependentReposCount SearchSort = "dependent_repos_count" SortLatestReleasePublishedAt SearchSort = "latest_release_published_at" SortContributorsCount SearchSort = "contributions_count" SortCreatedAt SearchSort = "created_at" )
type SubscribeToProjectResponse ¶
type SubscribeToProjectResponse UserSubscriptionsResponseElement
SubscribeToProject() response struct.
type SubscriptionVersion ¶
type UpdateSubscriptionResponse ¶
type UpdateSubscriptionResponse UserSubscriptionsResponseElement
UpdateSubscription() response struct.
type UserDependenciesResponse ¶
type UserDependenciesResponse []RepositoryProjectsResponseElement
UserDependencies()
type UserPackagesContributionsResponse ¶
type UserPackagesContributionsResponse []RepositoryProjectsResponseElement
UserPackagesContributions() response struct.
type UserPackagesResponse ¶
type UserPackagesResponse []RepositoryProjectsResponseElement
UserPackages() response struct.
type UserRepositoriesResponse ¶
type UserRepositoriesResponse []RepositoryResponse
UserRepositories() response struct.
type UserRepositoryContributions ¶
type UserRepositoryContributions []RepositoryResponse
UserRepositoryContributions() response struct.
type UserResponse ¶
type UserResponse struct {
GithubID string `json:"github_id"`
Login string `json:"login"`
UserType string `json:"user_type"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
Name string `json:"name"`
Company interface{} `json:"company"`
Blog string `json:"blog"`
Location string `json:"location"`
Hidden bool `json:"hidden"`
LastSyncedAt string `json:"last_synced_at"`
Email interface{} `json:"email"`
Bio string `json:"bio"`
UUID string `json:"uuid"`
HostType string `json:"host_type"`
}
User() response struct.
type UserSubscriptionsResponse ¶
type UserSubscriptionsResponse []UserSubscriptionsResponseElement
UserSubscriptions() response struct.