Versions in this module Expand all Collapse all v1 v1.0.5 Apr 13, 2022 Changes in this version + const WatchEvent + func ToWebURL(s string) string v1.0.4 Apr 13, 2022 v1.0.3 Apr 13, 2022 v1.0.2 Apr 13, 2022 v1.0.1 Apr 13, 2022 Changes in this version + const IssueCommentEvent + const PushEvent + var ErrNotOK = fmt.Errorf("gh: server responded with a non-200") + func Init() error + type Commit struct + Author User + Committer User + CreatedAt string + Parents []struct{ ... } + Payload struct{ ... } + SHA string + func (c Commit) Created() (time.Time, error) + type Event struct + CreatedAt string + ID int + Payload struct{ ... } + Repo struct{ ... } + Type string + func Events(username string) ([]Event, error) + func (e Event) Created() (time.Time, error) + type Profile struct + Emails []string + Events []Event + Repositories Repositories + User User + func (p *Profile) Fetch() error + type Repositories []Repository + func (rs *Repositories) Fetch(login string) error + type Repository struct + CreatedAt string + Description string + Fork bool + Forks int + Homepage string + ID int + Language string + Name string + Owner User + StargazersCount int + UpdatedAt string + WatchersCount int + func (r Repository) Commits() ([]Commit, error) + func (r Repository) Created() (time.Time, error) + func (r Repository) Updated() (time.Time, error) + type User struct + AvatarURL string + Bio string + Blog string + Company string + CreatedAt string + Email string + Followers int + Following int + GravatarURL string + Hireable bool + ID int + Location string + Login string + Name string + PublicGists int + PublicRepos int + TwitterUsername string + Type string + UpdatedAt string + func (u *User) Created() (time.Time, error) + func (u *User) Fetch() error + func (u *User) Repositories() (rs Repositories, err error) + func (u *User) Updated() (time.Time, error)