Skip to content

Commit e418e29

Browse files
committed
chore: 修改包地址
1 parent 496a584 commit e418e29

File tree

16 files changed

+28
-28
lines changed

16 files changed

+28
-28
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Self-Update library for Github, Gitea and Gitlab hosted applications in Go
22
==============================================================
33

4-
[![Godoc reference](https://godoc.org/github.com/creativeprojects/go-selfupdate?status.svg)](http://godoc.org/github.com/creativeprojects/go-selfupdate)
5-
[![Build](https://github.com/creativeprojects/go-selfupdate/workflows/Build/badge.svg)](https://github.com/creativeprojects/go-selfupdate/actions)
4+
[![Godoc reference](https://godoc.org/github.com/sinspired/go-selfupdate?status.svg)](http://godoc.org/github.com/sinspired/go-selfupdate)
5+
[![Build](https://github.com/sinspired/go-selfupdate/workflows/Build/badge.svg)](https://github.com/sinspired/go-selfupdate/actions)
66
[![codecov](https://codecov.io/gh/creativeprojects/go-selfupdate/branch/main/graph/badge.svg?token=3FejM0fkw2)](https://codecov.io/gh/creativeprojects/go-selfupdate)
77
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=creativeprojects_go-selfupdate&metric=bugs)](https://sonarcloud.io/summary/new_code?id=creativeprojects_go-selfupdate)
88
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=creativeprojects_go-selfupdate&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=creativeprojects_go-selfupdate)

cmd/detect-latest-release/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
This command line tool is a small wrapper of [`selfupdate.DetectLatest()`](https://pkg.go.dev/github.com/creativeprojects/go-selfupdate/selfupdate#DetectLatest).
1+
This command line tool is a small wrapper of [`selfupdate.DetectLatest()`](https://pkg.go.dev/github.com/sinspired/go-selfupdate/selfupdate#DetectLatest).
22

33
Please install using `go get`.
44

55
```
6-
$ go get -u github.com/creativeprojects/go-selfupdate/cmd/detect-latest-release
6+
$ go get -u github.com/sinspired/go-selfupdate/cmd/detect-latest-release
77
```
88

99
To know the usage, please try the command without any argument.
@@ -12,7 +12,7 @@ To know the usage, please try the command without any argument.
1212
$ detect-latest-release
1313
```
1414

15-
For example, following shows the latest version of [resticprofile](https://github.com/creativeprojects/resticprofile).
15+
For example, following shows the latest version of [resticprofile](https://github.com/sinspired/resticprofile).
1616

1717
```
1818
$ detect-latest-release creativeprojects/resticprofile

cmd/detect-latest-release/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"log"
88
"os"
99

10-
"github.com/creativeprojects/go-selfupdate"
11-
"github.com/creativeprojects/go-selfupdate/cmd"
10+
"github.com/sinspired/go-selfupdate"
11+
"github.com/sinspired/go-selfupdate/cmd"
1212
)
1313

1414
const (

cmd/detect-latest-release/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"log"
77
"runtime"
88

9-
"github.com/creativeprojects/go-selfupdate"
9+
"github.com/sinspired/go-selfupdate"
1010
)
1111

1212
// keep this function here, this is the example from the README

cmd/get-release/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Download and install the latest release of any binary from GitHub.
33
## Installation
44

55
```
6-
$ go get -u github.com/creativeprojects/go-selfupdate/cmd/get-release
6+
$ go get -u github.com/sinspired/go-selfupdate/cmd/get-release
77
```
88

99
## Usage

cmd/get-release/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import (
1313
"runtime"
1414
"strings"
1515

16-
"github.com/creativeprojects/go-selfupdate"
17-
"github.com/creativeprojects/go-selfupdate/cmd"
16+
"github.com/sinspired/go-selfupdate"
17+
"github.com/sinspired/go-selfupdate/cmd"
1818
)
1919

2020
func main() {

cmd/source.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"net/url"
66
"strings"
77

8-
"github.com/creativeprojects/go-selfupdate"
8+
"github.com/sinspired/go-selfupdate"
99
)
1010

1111
// SplitDomainSlug tries to make sense of the repository string

doc.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ If newer version than itself is detected, it downloads released binary from GitH
1515
There are some naming rules. Please read following links.
1616
1717
Naming Rules of Released Binaries:
18-
https://github.com/creativeprojects/go-selfupdate#naming-rules-of-released-binaries
18+
https://github.com/sinspired/go-selfupdate#naming-rules-of-released-binaries
1919
2020
Naming Rules of Git Tags:
21-
https://github.com/creativeprojects/go-selfupdate#naming-rules-of-versions-git-tags
21+
https://github.com/sinspired/go-selfupdate#naming-rules-of-versions-git-tags
2222
2323
This package is hosted on GitHub:
24-
https://github.com/creativeprojects/go-selfupdate
24+
https://github.com/sinspired/go-selfupdate
2525
2626
Small CLI tools as wrapper of this library are available also:
27-
https://github.com/creativeprojects/go-selfupdate/cmd/detect-latest-release
28-
https://github.com/creativeprojects/go-selfupdate/cmd/go-get-release
27+
https://github.com/sinspired/go-selfupdate/cmd/detect-latest-release
28+
https://github.com/sinspired/go-selfupdate/cmd/go-get-release
2929
*/
3030
package selfupdate

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/creativeprojects/go-selfupdate
1+
module github.com/sinspired/go-selfupdate
22

33
go 1.24.7
44

internal/path_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package internal_test
33
import (
44
"testing"
55

6-
"github.com/creativeprojects/go-selfupdate/internal"
6+
"github.com/sinspired/go-selfupdate/internal"
77
"github.com/stretchr/testify/assert"
88
)
99

0 commit comments

Comments
 (0)