1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-18 22:17:44 +02:00

fix: struct field alignment (#2632)

This commit is contained in:
Lukasz Raczylo
2023-04-26 00:16:34 +00:00
committed by GitHub
parent 0f9b2f00c9
commit a7522e7d6c
113 changed files with 694 additions and 637 deletions

View File

@ -55,14 +55,15 @@ type Marshaler interface {
// the communication, likely followed by the body.
// In the case of an error, body may be nil.
type Message struct {
// The values read from the socket
Header map[string]string
Id string
Type MessageType
Target string
Method string
Endpoint string
Error string
// The values read from the socket
Header map[string]string
Body []byte
Body []byte
Type MessageType
}