Versions in this module Expand all Collapse all v0 v0.34.6 Feb 7, 2024 v0.34.5 Feb 5, 2024 v0.34.4 Feb 5, 2024 v0.34.3 Feb 5, 2024 v0.34.2 Feb 5, 2024 v0.34.1 Jan 30, 2024 Changes in this version + func CloneAllRepos(user, token string, mirroring bool) ([]*github.Repository, error) + func ListAllRepos(user, token string) ([]*github.Repository, error) + func Mirror(user, token string) error v0.33.9 Jan 30, 2024 v0.33.8 Jan 30, 2024 v0.33.7 Jan 29, 2024 Changes in this version + const RELEASE_DATE_FORMAT + const RELEASE_LATEST_URI + const RELEASE_LIST_URI + var EnvApiEndpoint = os.Getenv("GITHUB_API") + var EnvAuthUser = os.Getenv("GITHUB_AUTH_USER") + var EnvRepo = os.Getenv("GITHUB_REPO") + var EnvToken = os.Getenv("GITHUB_TOKEN") + var EnvUser = os.Getenv("GITHUB_USER") + type Asset struct + ContentType string + Created time.Time + Downloads uint64 + Id int + Name string + Published time.Time + Size uint64 + State string + Url string + func DownloadLatestReleaseAssets(user, repo, authUser, token string) ([]Asset, error) + func DownloadReleaseAssets(release Release) ([]Asset, error) + type Release struct + Assets []Asset + Created *time.Time + Description string + Draft bool + Id int + Name string + PageUrl string + Prerelease bool + Published *time.Time + TagName string + UploadUrl string + Url string + func LatestRelease(user, repo, authUser, token string) (Release, error) + func Releases(user, repo, authUser, token string) ([]Release, error)