Skip to content

Commit ab8ebfd

Browse files
authored
chore: rename package (#138)
* chore: rename package * chore: fix lint and test
1 parent 054a5ce commit ab8ebfd

File tree

152 files changed

+481
-485
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+481
-485
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
A version control file system for data centric applications & teams.
33

44
<p align="left">
5-
<a href="https://codecov.io/gh/jiaozifs/jiaozifs"><img src="https://codecov.io/gh/jiaozifs/jiaozifs/branch/main/graph/badge.svg"></a>
6-
<a href="https://goreportcard.com/report/github.com/jiaozifs/jiaozifs"><img src="https://goreportcard.com/badge/github.com/jiaozifs/jiaozifs" /></a>
5+
<a href="https://codecov.io/gh/GitDataAI/jiaozifs"><img src="https://codecov.io/gh/GitDataAI/jiaozifs/branch/main/graph/badge.svg"></a>
6+
<a href="https://goreportcard.com/report/github.com/GitDataAI/jiaozifs"><img src="https://goreportcard.com/badge/github.com/GitDataAI/jiaozifs" /></a>
77
<a href=""><img src="https://img.shields.io/badge/golang-%3E%3D1.22.0-blue.svg" /></a>
88
<br>
99
</p>
1010

11-
<img src="https://github.com/jiaozifs/jiaozifs/blob/main/docs/logo/jiaozifs.png" width="100">
11+
<img src="https://github.com/GitDataAI/jiaozifs/blob/main/docs/logo/jiaozifs.png" width="100">
1212

1313
----
1414
### What is JiaoziFS?
@@ -52,7 +52,7 @@ JiaoziFS's versatility shines across different industries – making it the mult
5252

5353
1. clone and build
5454
```bash
55-
git clone https://github.com/jiaozifs/jiaozifs.git
55+
git clone https://github.com/GitDataAI/jiaozifs.git
5656
cd jiaozifs
5757
make build
5858
```
@@ -82,5 +82,5 @@ docker run -v <data>:/app -p 34913:34913 gitdatateam/jzfs:latest --db "postgres
8282
----
8383
### License
8484

85-
Dual-licensed under [MIT](https://github.com/jiaozifs/jiaozifs/blob/main/LICENSE-MIT) + [Apache 2.0](https://github.com/jiaozifs/jiaozifs/blob/main/LICENSE-APACHE)
85+
Dual-licensed under [MIT](https://github.com/GitDataAI/jiaozifs/blob/main/LICENSE-MIT) + [Apache 2.0](https://github.com/GitDataAI/jiaozifs/blob/main/LICENSE-APACHE)
8686

api/aksk_opts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"net/http"
66

7-
"github.com/jiaozifs/jiaozifs/auth/aksk"
7+
"github.com/GitDataAI/jiaozifs/auth/aksk"
88
)
99

1010
func AkSkOption(ak, sk string) ClientOption {

api/api_impl/impl.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package apiimpl
22

33
import (
4-
"github.com/jiaozifs/jiaozifs/api"
5-
"github.com/jiaozifs/jiaozifs/controller"
4+
"github.com/GitDataAI/jiaozifs/api"
5+
"github.com/GitDataAI/jiaozifs/controller"
66
"go.uber.org/fx"
77
)
88

api/api_impl/server.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,25 @@ import (
99
"net/url"
1010
"strings"
1111

12-
"github.com/jiaozifs/jiaozifs/auth/aksk"
12+
"github.com/GitDataAI/jiaozifs/auth/aksk"
1313

1414
"github.com/hellofresh/health-go/v5"
1515

1616
"github.com/getkin/kin-openapi/openapi3"
1717
"github.com/getkin/kin-openapi/routers/gorillamux"
1818

19+
"github.com/GitDataAI/jiaozifs/api"
20+
"github.com/GitDataAI/jiaozifs/auth"
21+
"github.com/GitDataAI/jiaozifs/auth/crypt"
22+
"github.com/GitDataAI/jiaozifs/config"
23+
"github.com/GitDataAI/jiaozifs/models"
1924
"github.com/MadAppGang/httplog"
2025
"github.com/flowchartsman/swaggerui"
2126
"github.com/getkin/kin-openapi/openapi3filter"
2227
"github.com/getkin/kin-openapi/routers"
2328
"github.com/go-chi/chi/v5"
2429
"github.com/gorilla/sessions"
2530
logging "github.com/ipfs/go-log/v2"
26-
"github.com/jiaozifs/jiaozifs/api"
27-
"github.com/jiaozifs/jiaozifs/auth"
28-
"github.com/jiaozifs/jiaozifs/auth/crypt"
29-
"github.com/jiaozifs/jiaozifs/config"
30-
"github.com/jiaozifs/jiaozifs/models"
3131
"github.com/rs/cors"
3232
"go.uber.org/fx"
3333
)
@@ -109,7 +109,7 @@ func SetupAPI(lc fx.Lifecycle,
109109
}()
110110

111111
lc.Append(fx.Hook{
112-
OnStop: func(ctx context.Context) error {
112+
OnStop: func(_ context.Context) error {
113113
return listener.Close()
114114
},
115115
})

api/custom_response.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"errors"
66
"net/http"
77

8-
"github.com/jiaozifs/jiaozifs/auth"
9-
"github.com/jiaozifs/jiaozifs/models"
8+
"github.com/GitDataAI/jiaozifs/auth"
9+
"github.com/GitDataAI/jiaozifs/models"
1010
)
1111

1212
type JiaozifsResponse struct {

api/custom_response_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"net/http"
66
"testing"
77

8-
"github.com/jiaozifs/jiaozifs/auth"
8+
"github.com/GitDataAI/jiaozifs/auth"
99

10-
"github.com/jiaozifs/jiaozifs/models"
10+
"github.com/GitDataAI/jiaozifs/models"
1111

1212
"go.uber.org/mock/gomock"
1313
)

auth/aksk.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package auth
33
import (
44
"context"
55

6-
"github.com/jiaozifs/jiaozifs/auth/aksk"
7-
"github.com/jiaozifs/jiaozifs/models"
6+
"github.com/GitDataAI/jiaozifs/auth/aksk"
7+
"github.com/GitDataAI/jiaozifs/models"
88
)
99

1010
var _ aksk.SkGetter = (*SkGetter)(nil)

auth/auth_middleware.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ import (
99

1010
logging "github.com/ipfs/go-log/v2"
1111

12-
"github.com/jiaozifs/jiaozifs/utils"
12+
"github.com/GitDataAI/jiaozifs/utils"
1313

14-
"github.com/jiaozifs/jiaozifs/auth/aksk"
14+
"github.com/GitDataAI/jiaozifs/auth/aksk"
1515

1616
"github.com/golang-jwt/jwt/v5"
1717

18+
"github.com/GitDataAI/jiaozifs/auth/crypt"
19+
"github.com/GitDataAI/jiaozifs/models"
1820
"github.com/getkin/kin-openapi/openapi3"
1921
"github.com/getkin/kin-openapi/routers"
2022
"github.com/getkin/kin-openapi/routers/legacy"
2123
"github.com/gorilla/sessions"
22-
"github.com/jiaozifs/jiaozifs/auth/crypt"
23-
"github.com/jiaozifs/jiaozifs/models"
2424
)
2525

2626
const (

auth/authenticator.go

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

6-
"github.com/jiaozifs/jiaozifs/models"
6+
"github.com/GitDataAI/jiaozifs/models"
77
"golang.org/x/crypto/bcrypt"
88
)
99

auth/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"fmt"
66

7-
"github.com/jiaozifs/jiaozifs/models"
7+
"github.com/GitDataAI/jiaozifs/models"
88
)
99

1010
var ErrUserNotFound = fmt.Errorf("UserNotFound")

0 commit comments

Comments
 (0)