mirror of
https://github.com/go-micro/go-micro.git
synced 2024-11-24 08:02:32 +02:00
fix missing pointer
This commit is contained in:
parent
1134ea5ff3
commit
c787fd0483
@ -4,7 +4,7 @@ type Message struct {
|
||||
Data []byte
|
||||
}
|
||||
|
||||
func (m Message) MarshalJSON() ([]byte, error) {
|
||||
func (m *Message) MarshalJSON() ([]byte, error) {
|
||||
return m.Data, nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user