From 54520cb033bf3026e4391597f30047d71ec35d15 Mon Sep 17 00:00:00 2001 From: bandl <1658002533@qq.com> Date: Wed, 27 Oct 2021 23:53:25 +0800 Subject: [PATCH] fix(storage): fix storage service --- storage/cmd/root.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/cmd/root.go b/storage/cmd/root.go index 2f677c4..646fd64 100644 --- a/storage/cmd/root.go +++ b/storage/cmd/root.go @@ -6,7 +6,7 @@ import ( "log" "net" - "gitee.com/timedb/wheatCache/storage/server/single" + "gitee.com/timedb/wheatCache/storage/service" _ "gitee.com/timedb/wheatCache/conf" "gitee.com/timedb/wheatCache/pkg/logx" @@ -24,7 +24,7 @@ var rootCmd = &cobra.Command{ Short: "storage", Long: `start storage server`, Run: func(cmd *cobra.Command, args []string) { - storageServer := single.NewServer() + storageServer := service.NewSingleServer() conf := viper.GetStringMap("storage") host := conf["host"].(string) port := conf["port"].(int)