From 11a63977c36210e66057cab272b316379cee67d7 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Tue, 14 Jun 2022 14:23:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=9F=BA=E7=B1=BB=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E6=8E=A5=E5=8F=A3=E5=AE=9A=E4=B9=89=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E8=BD=AC=E6=8D=A2=E5=BC=82=E5=B8=B8=E7=9A=84bug=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/core.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/core.go b/modules/core.go index 8f32830e5..039e472df 100644 --- a/modules/core.go +++ b/modules/core.go @@ -4,7 +4,7 @@ import ( "go_dreamfactory/lego/core" "go_dreamfactory/pb" - "google.golang.org/protobuf/proto" + "github.com/golang/protobuf/proto" ) type ( @@ -15,9 +15,9 @@ type ( Cache() ICache_Comp DB() IDB_Comp Configure() IConfigure_Comp - ///向指定用户发送消息 + // ///向指定用户发送消息 SendMsgToUser(mainType, subType string, msg proto.Message, user *pb.Cache_UserData) (err error) - ///向多个用户发送消息 + // ///向多个用户发送消息 SendMsgToUsers(mainType, subType string, msg proto.Message, user ...*pb.Cache_UserData) (err error) } IAPI_Comp interface {