1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00

Update marshaler.go

Modify "Name()" to "String()" of proto.Marshaler
This commit is contained in:
Zich Liew 2019-06-01 16:14:06 +08:00 committed by GitHub
parent 850f8bafdf
commit 1948e8a0d7
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"
}