diff --git a/README.md b/README.md index 9bba267..e5babcd 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ GoTiDB 是一个用 Go 语言编写的轻量级时序数据库,专门用于存 确保你已经安装了 Go 1.16 或更高版本。 ```bash -git clone module git.kingecg.top/kingecg/gotidb +git clone git.kingecg.top/kingecg/gotidb cd gotidb go mod download ``` diff --git a/cmd/server/main.go b/cmd/server/main.go index f105667..c2a3255 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -9,7 +9,7 @@ import ( "syscall" "time" - "module git.kingecg.top/kingecg/gotidb/pkg/api" + "git.kingecg.top/kingecg/gotidb/pkg/api" "git.kingecg.top/kingecg/gotidb/pkg/manager" "git.kingecg.top/kingecg/gotidb/pkg/messaging" "git.kingecg.top/kingecg/gotidb/pkg/model" diff --git a/pkg/api/quic_server.go b/pkg/api/quic_server.go index 092f2f8..32e2b11 100644 --- a/pkg/api/quic_server.go +++ b/pkg/api/quic_server.go @@ -13,7 +13,7 @@ import ( "math/big" "time" - "module git.kingecg.top/kingecg/gotidb/pkg/manager" + "git.kingecg.top/kingecg/gotidb/pkg/manager" "git.kingecg.top/kingecg/gotidb/pkg/model" "github.com/quic-go/quic-go" ) diff --git a/pkg/api/rest.go b/pkg/api/rest.go index 98b7220..85fb965 100644 --- a/pkg/api/rest.go +++ b/pkg/api/rest.go @@ -7,7 +7,7 @@ import ( "github.com/gin-gonic/gin" - "module git.kingecg.top/kingecg/gotidb/pkg/manager" + "git.kingecg.top/kingecg/gotidb/pkg/manager" "git.kingecg.top/kingecg/gotidb/pkg/model" ) diff --git a/pkg/api/rest_test.go b/pkg/api/rest_test.go index e68e39b..ca0c4c2 100644 --- a/pkg/api/rest_test.go +++ b/pkg/api/rest_test.go @@ -11,7 +11,7 @@ import ( "github.com/gin-gonic/gin" - "module git.kingecg.top/kingecg/gotidb/pkg/manager" + "git.kingecg.top/kingecg/gotidb/pkg/manager" "git.kingecg.top/kingecg/gotidb/pkg/model" "git.kingecg.top/kingecg/gotidb/pkg/storage" ) diff --git a/pkg/api/websocket.go b/pkg/api/websocket.go index 04d4098..3923a8d 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" - "module git.kingecg.top/kingecg/gotidb/pkg/manager" + "git.kingecg.top/kingecg/gotidb/pkg/manager" "git.kingecg.top/kingecg/gotidb/pkg/model" ) diff --git a/pkg/api/websocket_test.go b/pkg/api/websocket_test.go index 95b2b55..e325cb6 100644 --- a/pkg/api/websocket_test.go +++ b/pkg/api/websocket_test.go @@ -11,7 +11,7 @@ import ( "github.com/gorilla/websocket" - "module git.kingecg.top/kingecg/gotidb/pkg/manager" + "git.kingecg.top/kingecg/gotidb/pkg/manager" "git.kingecg.top/kingecg/gotidb/pkg/model" "git.kingecg.top/kingecg/gotidb/pkg/storage" ) diff --git a/pkg/manager/datamanager.go b/pkg/manager/datamanager.go index d2d9935..b571125 100644 --- a/pkg/manager/datamanager.go +++ b/pkg/manager/datamanager.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "module git.kingecg.top/kingecg/gotidb/pkg/model" + "git.kingecg.top/kingecg/gotidb/pkg/model" "git.kingecg.top/kingecg/gotidb/pkg/storage" ) diff --git a/pkg/manager/datamanager_test.go b/pkg/manager/datamanager_test.go index c127c40..f808408 100644 --- a/pkg/manager/datamanager_test.go +++ b/pkg/manager/datamanager_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "module git.kingecg.top/kingecg/gotidb/pkg/model" + "git.kingecg.top/kingecg/gotidb/pkg/model" "git.kingecg.top/kingecg/gotidb/pkg/storage" ) diff --git a/pkg/messaging/nats.go b/pkg/messaging/nats.go index a20388d..b5689cd 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" - "module git.kingecg.top/kingecg/gotidb/pkg/model" + "git.kingecg.top/kingecg/gotidb/pkg/model" ) const ( diff --git a/pkg/storage/boltdb.go b/pkg/storage/boltdb.go index 882cf20..838cc34 100644 --- a/pkg/storage/boltdb.go +++ b/pkg/storage/boltdb.go @@ -9,7 +9,7 @@ import ( "sync" "time" - "module git.kingecg.top/kingecg/gotidb/pkg/model" + "git.kingecg.top/kingecg/gotidb/pkg/model" "go.etcd.io/bbolt" ) diff --git a/pkg/storage/engine.go b/pkg/storage/engine.go index 2630fae..264f431 100644 --- a/pkg/storage/engine.go +++ b/pkg/storage/engine.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "module git.kingecg.top/kingecg/gotidb/pkg/model" + "git.kingecg.top/kingecg/gotidb/pkg/model" ) // PersistenceType 持久化类型 diff --git a/pkg/storage/engine_test.go b/pkg/storage/engine_test.go index 9c4aa66..1797fa2 100644 --- a/pkg/storage/engine_test.go +++ b/pkg/storage/engine_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "module git.kingecg.top/kingecg/gotidb/pkg/model" + "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 24ce7d5..af05b50 100644 --- a/pkg/storage/persister.go +++ b/pkg/storage/persister.go @@ -9,7 +9,7 @@ import ( "sync" "time" - "module git.kingecg.top/kingecg/gotidb/pkg/model" + "git.kingecg.top/kingecg/gotidb/pkg/model" ) // Persister 持久化接口