remove m3o references (#256)

* remove m3o references

* fix notes

* remove cruft
This commit is contained in:
Asim Aslam
2021-11-03 21:54:34 +00:00
committed by GitHub
parent 2b1122711f
commit 7b2915bcc1
8 changed files with 6 additions and 91 deletions

View File

@@ -10,22 +10,22 @@ import (
"github.com/micro/micro/v3/service/client"
"github.com/micro/micro/v3/service/errors"
"github.com/micro/micro/v3/service/store"
streamPb "github.com/micro/services/mq/proto"
pb "github.com/micro/services/notes/proto"
"github.com/micro/services/pkg/tenant"
streamPb "github.com/micro/services/stream/proto"
"google.golang.org/protobuf/types/known/structpb"
)
// New returns an initialized Notes
func New(c client.Client) *Notes {
return &Notes{
Stream: streamPb.NewStreamService("stream", c),
Stream: streamPb.NewMqService("mq", c),
}
}
// Notes implements the notes proto definition
type Notes struct {
Stream streamPb.StreamService
Stream streamPb.MqService
}
func newMessage(ev map[string]interface{}) *structpb.Struct {