From b4195bd81c34cf89e5a6b8ae9cb80f1c42164621 Mon Sep 17 00:00:00 2001 From: xmcy0011 Date: Mon, 11 Oct 2021 21:40:31 +0800 Subject: [PATCH] add cmd/open_im_msg_transfer --- {src/msg_transfer => cmd/open_im_msg_transfer}/Makefile | 0 .../open_im_msg_transfer.go => cmd/open_im_msg_transfer/main.go | 2 +- {src => internal}/msg_transfer/logic/db.go | 0 {src => internal}/msg_transfer/logic/history_msg_handler.go | 0 {src => internal}/msg_transfer/logic/init.go | 0 {src => internal}/msg_transfer/logic/persistent_msg_handler.go | 0 6 files changed, 1 insertion(+), 1 deletion(-) rename {src/msg_transfer => cmd/open_im_msg_transfer}/Makefile (100%) rename src/msg_transfer/open_im_msg_transfer.go => cmd/open_im_msg_transfer/main.go (75%) rename {src => internal}/msg_transfer/logic/db.go (100%) rename {src => internal}/msg_transfer/logic/history_msg_handler.go (100%) rename {src => internal}/msg_transfer/logic/init.go (100%) rename {src => internal}/msg_transfer/logic/persistent_msg_handler.go (100%) diff --git a/src/msg_transfer/Makefile b/cmd/open_im_msg_transfer/Makefile similarity index 100% rename from src/msg_transfer/Makefile rename to cmd/open_im_msg_transfer/Makefile diff --git a/src/msg_transfer/open_im_msg_transfer.go b/cmd/open_im_msg_transfer/main.go similarity index 75% rename from src/msg_transfer/open_im_msg_transfer.go rename to cmd/open_im_msg_transfer/main.go index 0a3775113..c5487de26 100644 --- a/src/msg_transfer/open_im_msg_transfer.go +++ b/cmd/open_im_msg_transfer/main.go @@ -1,7 +1,7 @@ package main import ( - "Open_IM/src/msg_transfer/logic" + "Open_IM/internal/msg_transfer/logic" "sync" ) diff --git a/src/msg_transfer/logic/db.go b/internal/msg_transfer/logic/db.go similarity index 100% rename from src/msg_transfer/logic/db.go rename to internal/msg_transfer/logic/db.go diff --git a/src/msg_transfer/logic/history_msg_handler.go b/internal/msg_transfer/logic/history_msg_handler.go similarity index 100% rename from src/msg_transfer/logic/history_msg_handler.go rename to internal/msg_transfer/logic/history_msg_handler.go diff --git a/src/msg_transfer/logic/init.go b/internal/msg_transfer/logic/init.go similarity index 100% rename from src/msg_transfer/logic/init.go rename to internal/msg_transfer/logic/init.go diff --git a/src/msg_transfer/logic/persistent_msg_handler.go b/internal/msg_transfer/logic/persistent_msg_handler.go similarity index 100% rename from src/msg_transfer/logic/persistent_msg_handler.go rename to internal/msg_transfer/logic/persistent_msg_handler.go