Update marshaler.go
Modify "Name()" to "String()" of proto.Marshaler
This commit is contained in:
parent
850f8bafdf
commit
1948e8a0d7
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user