Merge pull request #492 from ZichooleLongGui/patch-1
Update marshaler.go of codec/proto.
This commit is contained in:
commit
e73ed88008
@ -14,6 +14,6 @@ func (Marshaler) Unmarshal(data []byte, v interface{}) error {
|
|||||||
return proto.Unmarshal(data, v.(proto.Message))
|
return proto.Unmarshal(data, v.(proto.Message))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (Marshaler) Name() string {
|
func (Marshaler) String() string {
|
||||||
return "proto"
|
return "proto"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user