From d1f89c1eb52a08b97d5be5dd991c5991b6f0bf93 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期三, 21 四月 2021 16:41:30 +0800
Subject: [PATCH] 修改包名,作为go依赖库

---
 src/proto.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/proto.cpp b/src/proto.cpp
index 287924b..b1e8207 100644
--- a/src/proto.cpp
+++ b/src/proto.cpp
@@ -30,6 +30,8 @@
 
 } // namespace
 
+std::string NewMsgId() { return RandId(); }
+
 BHMsgHead InitMsgHead(const MsgType type, const std::string &proc_id)
 {
 	return InitMsgHead(type, proc_id, RandId());

--
Gitblit v1.8.0