1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-30 08:06:40 +02:00

Merge pull request #492 from ZichooleLongGui/patch-1

Update marshaler.go of codec/proto.
This commit is contained in:
Asim Aslam 2019-06-01 10:26:27 +01:00 committed by GitHub
commit e73ed88008
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,6 @@ func (Marshaler) Unmarshal(data []byte, v interface{}) error {
return proto.Unmarshal(data, v.(proto.Message))
}
func (Marshaler) Name() string {
func (Marshaler) String() string {
return "proto"
}