Compare commits
3 Commits
5989fd54ca
...
v3.11.25
| Author | SHA1 | Date | |
|---|---|---|---|
| 66ccd6021f | |||
| e5346f7e4f | |||
|
|
daf19f031a |
@@ -1,5 +1,5 @@
|
||||
# Micro
|
||||
[](https://opensource.org/licenses/Apache-2.0) [](https://pkg.go.dev/github.com/unistack-org/micro/v3?tab=overview) [](https://git.unistack.org/unistack-org/micro/actions?query=workflow%3Abuild+branch%3Av3+event%3Apush) [](https://goreportcard.com/report/go.unistack.org/micro/v3)
|
||||

|
||||
|
||||
Micro is a standard library for microservices.
|
||||
|
||||
|
||||
@@ -20,6 +20,16 @@ func (m *Frame) UnmarshalJSON(data []byte) error {
|
||||
return m.Unmarshal(data)
|
||||
}
|
||||
|
||||
// MarshalYAML returns frame data
|
||||
func (m *Frame) MarshalYAML() ([]byte, error) {
|
||||
return m.Marshal()
|
||||
}
|
||||
|
||||
// UnmarshalYAML set frame data
|
||||
func (m *Frame) UnmarshalYAML(data []byte) error {
|
||||
return m.Unmarshal(data)
|
||||
}
|
||||
|
||||
// ProtoMessage noop func
|
||||
func (m *Frame) ProtoMessage() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user