Skip to content

Commit e539150

Browse files
author
myxy99
committed
cfg
1 parent fb648bd commit e539150

File tree

23 files changed

+24
-505
lines changed

23 files changed

+24
-505
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ import (
5555
"fmt"
5656
"github.com/BurntSushi/toml"
5757
"github.com/coder2z/g-saber/xflag"
58-
"github.com/coder2z/component/xcfg"
59-
"github.com/coder2z/component/xcfg/datasource/manager"
58+
"github.com/coder2z/g-saber/xcfg"
59+
"github.com/coder2z/g-saber/xcfg/datasource/manager"
6060
"github.com/coder2z/component/xinvoker"
6161
xgorm "github.com/coder2z/component/xinvoker/gorm"
6262
xredis "github.com/coder2z/component/xinvoker/redis"

xcfg/datasource/apollo/apollo.go renamed to datasource/apollo/apollo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package apollo
22

33
import (
4-
"github.com/coder2z/component/xcfg"
4+
"github.com/coder2z/g-saber/xcfg"
55
"github.com/philchia/agollo/v4"
66
)
77

xcfg/datasource/apollo/register.go renamed to datasource/apollo/register.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package apollo
22

33
import (
4+
"github.com/coder2z/g-saber/xcfg"
45
"github.com/coder2z/g-saber/xflag"
5-
"github.com/coder2z/component/xcfg"
66
"github.com/philchia/agollo/v4"
77
"net/url"
88
)

xcfg/datasource/etcdv3/etcdv3.go renamed to datasource/etcdv3/etcdv3.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ package etcdv3
22

33
import (
44
"context"
5-
"github.com/coder2z/component/xcfg"
5+
"github.com/coder2z/g-saber/xcfg"
66
"time"
77

8+
"github.com/pkg/errors"
89
"go.etcd.io/etcd/clientv3"
910
"go.etcd.io/etcd/mvcc/mvccpb"
10-
"github.com/pkg/errors"
1111
)
1212

1313
type etcdDataSource struct {

xcfg/datasource/etcdv3/register.go renamed to datasource/etcdv3/register.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package etcdv3
22

33
import (
4-
"github.com/coder2z/component/xcfg"
4+
"github.com/coder2z/g-saber/xcfg"
55
"github.com/coder2z/g-saber/xflag"
66
"net/url"
77
"time"
File renamed without changes.

xcfg/datasource/file/register.go renamed to datasource/file/register.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package file
22

33
import (
4-
"github.com/coder2z/component/xcfg"
4+
"github.com/coder2z/g-saber/xcfg"
55
"github.com/coder2z/g-saber/xflag"
66
)
77

xcfg/datasource/manager/manager.go renamed to datasource/manager/manager.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ package manager
22

33
import (
44
"errors"
5+
"github.com/coder2z/component/datasource/apollo"
6+
"github.com/coder2z/component/datasource/etcdv3"
7+
"github.com/coder2z/component/datasource/file"
8+
"github.com/coder2z/g-saber/xcfg"
59
"github.com/coder2z/g-saber/xconsole"
6-
"github.com/coder2z/component/xcfg"
7-
"github.com/coder2z/component/xcfg/datasource/apollo"
8-
"github.com/coder2z/component/xcfg/datasource/etcdv3"
9-
"github.com/coder2z/component/xcfg/datasource/file"
1010
"net/url"
1111
)
1212

xapp/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
package xapp
77

88
import (
9-
"github.com/coder2z/component/xcfg"
9+
"github.com/coder2z/g-saber/xcfg"
1010
"github.com/coder2z/component/xversion"
1111
"github.com/coder2z/g-saber/xconsole"
1212
"github.com/coder2z/g-saber/xnet"

xcfg/api.go

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)