diff --git a/README.md b/README.md index f63414f..9bba267 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ GoTiDB 是一个用 Go 语言编写的轻量级时序数据库,专门用于存 确保你已经安装了 Go 1.16 或更高版本。 ```bash -git clone git.pyer.club/kingecg/gotidb +git clone module git.kingecg.top/kingecg/gotidb cd gotidb go mod download ``` diff --git a/cmd/server/main.go b/cmd/server/main.go index 3fbe77e..d92d7b6 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -9,7 +9,7 @@ import ( "syscall" "time" - "git.pyer.club/kingecg/gotidb/pkg/api" + "module git.kingecg.top/kingecg/gotidb/pkg/api" "git.pyer.club/kingecg/gotidb/pkg/manager" "git.pyer.club/kingecg/gotidb/pkg/messaging" "git.pyer.club/kingecg/gotidb/pkg/model" diff --git a/go.mod b/go.mod index eee35cb..dc967bc 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module git.pyer.club/kingecg/gotidb +module module git.kingecg.top/kingecg/gotidb go 1.23 diff --git a/pkg/api/quic_server.go b/pkg/api/quic_server.go index 38c76b3..e3e8117 100644 --- a/pkg/api/quic_server.go +++ b/pkg/api/quic_server.go @@ -13,7 +13,7 @@ import ( "math/big" "time" - "git.pyer.club/kingecg/gotidb/pkg/manager" + "module git.kingecg.top/kingecg/gotidb/pkg/manager" "git.pyer.club/kingecg/gotidb/pkg/model" "github.com/quic-go/quic-go" ) diff --git a/pkg/api/rest.go b/pkg/api/rest.go index e7a4905..d7ad840 100644 --- a/pkg/api/rest.go +++ b/pkg/api/rest.go @@ -7,7 +7,7 @@ import ( "github.com/gin-gonic/gin" - "git.pyer.club/kingecg/gotidb/pkg/manager" + "module git.kingecg.top/kingecg/gotidb/pkg/manager" "git.pyer.club/kingecg/gotidb/pkg/model" ) diff --git a/pkg/api/rest_test.go b/pkg/api/rest_test.go index 970ffe5..fdfc4d1 100644 --- a/pkg/api/rest_test.go +++ b/pkg/api/rest_test.go @@ -11,7 +11,7 @@ import ( "github.com/gin-gonic/gin" - "git.pyer.club/kingecg/gotidb/pkg/manager" + "module git.kingecg.top/kingecg/gotidb/pkg/manager" "git.pyer.club/kingecg/gotidb/pkg/model" "git.pyer.club/kingecg/gotidb/pkg/storage" ) diff --git a/pkg/api/websocket.go b/pkg/api/websocket.go index bf32a99..1d3d871 100644 --- a/pkg/api/websocket.go +++ b/pkg/api/websocket.go @@ -11,7 +11,7 @@ import ( "github.com/gin-gonic/gin" "github.com/gorilla/websocket" - "git.pyer.club/kingecg/gotidb/pkg/manager" + "module git.kingecg.top/kingecg/gotidb/pkg/manager" "git.pyer.club/kingecg/gotidb/pkg/model" ) diff --git a/pkg/api/websocket_test.go b/pkg/api/websocket_test.go index 4564e39..8ce9ed5 100644 --- a/pkg/api/websocket_test.go +++ b/pkg/api/websocket_test.go @@ -11,7 +11,7 @@ import ( "github.com/gorilla/websocket" - "git.pyer.club/kingecg/gotidb/pkg/manager" + "module git.kingecg.top/kingecg/gotidb/pkg/manager" "git.pyer.club/kingecg/gotidb/pkg/model" "git.pyer.club/kingecg/gotidb/pkg/storage" ) diff --git a/pkg/manager/datamanager.go b/pkg/manager/datamanager.go index 40d1e9b..4054782 100644 --- a/pkg/manager/datamanager.go +++ b/pkg/manager/datamanager.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "git.pyer.club/kingecg/gotidb/pkg/model" + "module git.kingecg.top/kingecg/gotidb/pkg/model" "git.pyer.club/kingecg/gotidb/pkg/storage" ) diff --git a/pkg/manager/datamanager_test.go b/pkg/manager/datamanager_test.go index c5499f8..a8cc7c3 100644 --- a/pkg/manager/datamanager_test.go +++ b/pkg/manager/datamanager_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "git.pyer.club/kingecg/gotidb/pkg/model" + "module git.kingecg.top/kingecg/gotidb/pkg/model" "git.pyer.club/kingecg/gotidb/pkg/storage" ) diff --git a/pkg/messaging/nats.go b/pkg/messaging/nats.go index 62be42c..a20388d 100644 --- a/pkg/messaging/nats.go +++ b/pkg/messaging/nats.go @@ -10,7 +10,7 @@ import ( "github.com/nats-io/nats.go" "github.com/nats-io/nats.go/jetstream" - "git.pyer.club/kingecg/gotidb/pkg/model" + "module git.kingecg.top/kingecg/gotidb/pkg/model" ) const ( diff --git a/pkg/storage/boltdb.go b/pkg/storage/boltdb.go index dfeaf4f..882cf20 100644 --- a/pkg/storage/boltdb.go +++ b/pkg/storage/boltdb.go @@ -9,7 +9,7 @@ import ( "sync" "time" - "git.pyer.club/kingecg/gotidb/pkg/model" + "module git.kingecg.top/kingecg/gotidb/pkg/model" "go.etcd.io/bbolt" ) diff --git a/pkg/storage/engine.go b/pkg/storage/engine.go index c2e6587..2630fae 100644 --- a/pkg/storage/engine.go +++ b/pkg/storage/engine.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "git.pyer.club/kingecg/gotidb/pkg/model" + "module git.kingecg.top/kingecg/gotidb/pkg/model" ) // PersistenceType 持久化类型 diff --git a/pkg/storage/engine_test.go b/pkg/storage/engine_test.go index 63d5c67..9c4aa66 100644 --- a/pkg/storage/engine_test.go +++ b/pkg/storage/engine_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "git.pyer.club/kingecg/gotidb/pkg/model" + "module git.kingecg.top/kingecg/gotidb/pkg/model" ) func TestMemoryEngine(t *testing.T) { diff --git a/pkg/storage/persister.go b/pkg/storage/persister.go index 0922dd6..24ce7d5 100644 --- a/pkg/storage/persister.go +++ b/pkg/storage/persister.go @@ -9,7 +9,7 @@ import ( "sync" "time" - "git.pyer.club/kingecg/gotidb/pkg/model" + "module git.kingecg.top/kingecg/gotidb/pkg/model" ) // Persister 持久化接口