| README.md | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| _example/latest/latest.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| _example/specific/specific.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| go.mod | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| stores/apex/apex.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| stores/github/github.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
README.md
@@ -1,11 +1,11 @@ ## go-update ## goupdate Package update provides tooling to auto-update binary releases from GitHub based on the user's current version and operating system. Used by command-line tools such as [Up](https://github.com/apex/up) and [Apex](https://github.com/apex/apex). --- [](https://godoc.org/github.com/zan8in/go-update) [](https://godoc.org/github.com/zan8in/goupdate)   _example/latest/latest.go
@@ -7,9 +7,9 @@ "github.com/apex/log" "github.com/kierdavis/ansi" "github.com/zan8in/go-update" "github.com/zan8in/go-update/progress" "github.com/zan8in/go-update/stores/github" update "github.com/zan8in/goupdate" "github.com/zan8in/goupdate/progress" "github.com/zan8in/goupdate/stores/github" ) func init() { _example/specific/specific.go
@@ -7,9 +7,9 @@ "github.com/apex/log" "github.com/kierdavis/ansi" "github.com/zan8in/go-update" "github.com/zan8in/go-update/progress" "github.com/zan8in/go-update/stores/github" update "github.com/zan8in/goupdate" "github.com/zan8in/goupdate/progress" "github.com/zan8in/goupdate/stores/github" ) func init() { go.mod
@@ -1,4 +1,4 @@ module github.com/zan8in/go-update module github.com/zan8in/goupdate go 1.16 stores/apex/apex.go
@@ -9,7 +9,7 @@ "github.com/pkg/errors" "github.com/tj/go/http/request" "github.com/zan8in/go-update" update "github.com/zan8in/goupdate" ) // Store is the store implementation. stores/github/github.go
@@ -6,7 +6,7 @@ "time" "github.com/google/go-github/github" "github.com/zan8in/go-update" update "github.com/zan8in/goupdate" ) // Store is the store implementation.