Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubProjectInfo ¶
type GithubUtil ¶
type GithubUtil struct {
// contains filtered or unexported fields
}
func NewGithubUtil ¶
func NewGithubUtil(ctx context.Context, token string) *GithubUtil
func (GithubUtil) ListFowerrs ¶
func (g GithubUtil) ListFowerrs(username string, page, limit int) (r []UserInfo, err error)
func (*GithubUtil) ListPublicRepository ¶
func (g *GithubUtil) ListPublicRepository(since int64) ([]GithubProjectInfo, error)
type UserInfo ¶
type UserInfo struct {
Login string `json:"login"`
Id int64 `json:"id"`
NodeId string `json:"node_id"`
AvatarUrl string `json:"avatar_url"`
GravatarId string `json:"gravatar_id"`
Url string `json:"url"`
HtmlUrl string `json:"html_url"`
FollowersUrl string `json:"followers_url"`
FollowingUrl string `json:"following_url"`
GistsUrl string `json:"gists_url"`
StarredUrl string `json:"starred_url"`
SubscriptionsUrl string `json:"subscriptions_url"`
OrganizationsUrl string `json:"organizations_url"`
ReposUrl string `json:"repos_url"`
EventsUrl string `json:"events_url"`
ReceivedEventsUrl string `json:"received_events_url"`
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
}
Click to show internal directories.
Click to hide internal directories.