diff --git a/pkg/middle/MIDDLE.go b/pkg/middle/MIDDLE.go new file mode 100644 index 0000000..8df26c6 --- /dev/null +++ b/pkg/middle/MIDDLE.go @@ -0,0 +1,30 @@ +package middle + +type msg struct { + msgType map[string]interface{} +} + +//获取权值 +func GetMiddleWeight() { + +} + +//弹出中间件 +func PopMiddle() { + +} + +//输入数据 +func GetData() { + +} + +//输出数据 +func OutData() { + +} + +//驱动 +func Driver() { + +} diff --git a/pkg/middle/define/define.go b/pkg/middle/define/define.go deleted file mode 100644 index 57c3969..0000000 --- a/pkg/middle/define/define.go +++ /dev/null @@ -1 +0,0 @@ -package define diff --git a/pkg/middle/test/Hello.go b/pkg/test/Hello.go similarity index 100% rename from pkg/middle/test/Hello.go rename to pkg/test/Hello.go diff --git a/pkg/middle/test/Hello_test.go b/pkg/test/Hello_test.go similarity index 100% rename from pkg/middle/test/Hello_test.go rename to pkg/test/Hello_test.go