🚧 添加model

This commit is contained in:
微凉
2021-03-04 23:50:51 +08:00
parent 9cb548d4f7
commit 389226662c
9 changed files with 183 additions and 2 deletions

View File

@ -16,7 +16,7 @@ type GithubRelease struct {
Body string `json:"body"`
}
// check updtae
// check update
func CheckUpdate() {
log.Infof("检查更新...")
url:="https://api.github.com/repos/Xhofe/alist/releases/latest"