refactor: 整理依赖库

This commit is contained in:
flswld committed 2025-06-20 03:10:44 +08:00
1 parent 853f6003a3
commit a105110acb
161 files changed
+311 -11050

No files matched your search

+2 -1
View File
@@ -14,7 +14,8 @@ import (
"hk4e/dispatch/controller"
"hk4e/dispatch/dao"
"hk4e/node/api"
"hk4e/pkg/logger"
"github.com/flswld/halo/logger"
)
var APPID string
+2 -3
View File
@@ -7,17 +7,16 @@ import (
"sync"
"time"
"hk4e/dispatch/model"
"hk4e/common/config"
"hk4e/common/mq"
"hk4e/common/region"
"hk4e/common/rpc"
"hk4e/dispatch/dao"
"hk4e/dispatch/model"
"hk4e/node/api"
"hk4e/pkg/logger"
"hk4e/pkg/random"
"github.com/flswld/halo/logger"
"github.com/gin-gonic/gin"
)
+1 -1
View File
@@ -15,10 +15,10 @@ import (
httpapi "hk4e/dispatch/api"
"hk4e/node/api"
"hk4e/pkg/endec"
"hk4e/pkg/logger"
"hk4e/pkg/random"
"hk4e/protocol/proto"
"github.com/flswld/halo/logger"
"github.com/gin-gonic/gin"
pb "google.golang.org/protobuf/proto"
)
+1 -1
View File
@@ -10,8 +10,8 @@ import (
"time"
"hk4e/common/config"
"hk4e/pkg/logger"
"github.com/flswld/halo/logger"
"github.com/gin-gonic/gin"
)
+1 -1
View File
@@ -2,8 +2,8 @@ package controller
import (
"hk4e/dispatch/model"
"hk4e/pkg/logger"
"github.com/flswld/halo/logger"
"github.com/gin-gonic/gin"
)
+1 -2
View File
@@ -10,13 +10,12 @@ import (
"time"
"hk4e/common/config"
"hk4e/dispatch/api"
"hk4e/dispatch/model"
"hk4e/pkg/endec"
"hk4e/pkg/logger"
"hk4e/pkg/random"
"github.com/flswld/halo/logger"
"github.com/gin-gonic/gin"
)
+1 -1
View File
@@ -4,8 +4,8 @@ import (
"context"
"hk4e/dispatch/model"
"hk4e/pkg/logger"
"github.com/flswld/halo/logger"
"go.mongodb.org/mongo-driver/bson/primitive"
)
+1 -1
View File
@@ -9,8 +9,8 @@ import (
"hk4e/common/config"
"hk4e/dispatch/model"
"hk4e/pkg/logger"
"github.com/flswld/halo/logger"
"github.com/glebarez/sqlite"
"github.com/go-redis/redis/v8"
"go.mongodb.org/mongo-driver/mongo"
+3 -1
View File
@@ -1,6 +1,8 @@
package model
import "go.mongodb.org/mongo-driver/bson/primitive"
import (
"go.mongodb.org/mongo-driver/bson/primitive"
)
type SdkAccount struct {
ID primitive.ObjectID `bson:"_id,omitempty"`