Documentation ¶
Overview ¶
Package github provides a GitHub release store.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubResult ¶
type GithubResult struct { Status int // update success = 1; have latest version = 2; LatestVersion string }
func Update ¶
func Update(owner, repo, version string) (*GithubResult, error)
更新最新版本 owner = zan8in repo = afrog version = 2.8.8 当前版本
type Store ¶
Store is the store implementation.
func (*Store) GetRelease ¶
GetRelease returns the specified release or ErrNotFound.
Click to show internal directories.
Click to hide internal directories.