Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PerformUpdate ¶
func PerformUpdate(ctx context.Context, info *UpdateInfo) error
PerformUpdate 执行更新
Types ¶
type Assets ¶
type Assets struct {
Name string `json:"name"`
BrowserDownloadURL string `json:"browser_download_url"`
Size int64 `json:"size"`
}
GitHubRelease GitHub Release API 响应结构
type GitHubRelease ¶
type GitHubRelease struct {
TagName string `json:"tag_name"`
Name string `json:"name"`
Body string `json:"body"`
Assets []*Assets `json:"assets"`
}
GitHubRelease GitHub Release API 响应结构
Click to show internal directories.
Click to hide internal directories.