move broker codec

This commit is contained in:
Asim Aslam
2016-12-06 18:59:41 +00:00
parent 49e5636bcd
commit 25a6849609
5 changed files with 24 additions and 22 deletions

View File

@@ -4,6 +4,7 @@ import (
"errors"
"github.com/micro/go-micro/broker"
"github.com/micro/go-micro/broker/codec"
)
type noopCodec struct{}
@@ -29,6 +30,6 @@ func (n noopCodec) String() string {
return "noop"
}
func NewCodec() broker.Codec {
func NewCodec() codec.Codec {
return noopCodec{}
}