From d9247a34e12ad63cc410639f25210a1018e33c85 Mon Sep 17 00:00:00 2001
From: zanbin168 <zanbin168@qq.com>
Date: 星期二, 16 五月 2023 22:34:28 +0800
Subject: [PATCH] update
---
_example/specific/specific.go | 6 +++---
stores/apex/apex.go | 2 +-
stores/github/github.go | 2 +-
_example/latest/latest.go | 6 +++---
go.mod | 2 +-
README.md | 4 ++--
6 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/README.md b/README.md
index d6460f6..5e2f8b5 100644
--- a/README.md
+++ b/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)


diff --git a/_example/latest/latest.go b/_example/latest/latest.go
index b661cf5..84c80f3 100644
--- a/_example/latest/latest.go
+++ b/_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() {
diff --git a/_example/specific/specific.go b/_example/specific/specific.go
index b7d890d..b72b215 100644
--- a/_example/specific/specific.go
+++ b/_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() {
diff --git a/go.mod b/go.mod
index 626502c..a6d3284 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/zan8in/go-update
+module github.com/zan8in/goupdate
go 1.16
diff --git a/stores/apex/apex.go b/stores/apex/apex.go
index 64ff334..273870f 100644
--- a/stores/apex/apex.go
+++ b/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.
diff --git a/stores/github/github.go b/stores/github/github.go
index 220d5b3..33e4e69 100644
--- a/stores/github/github.go
+++ b/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.
--
Gitblit v1.8.0