diff options
author | Ondrej Fabry <ofabry@cisco.com> | 2019-01-31 08:23:02 +0100 |
---|---|---|
committer | Ondrej Fabry <ofabry@cisco.com> | 2019-01-31 08:23:02 +0100 |
commit | 6476a2b64a2e1ea6c0d695127d726a348cc5c99b (patch) | |
tree | 49909ae9800e9eb9af64731141dc899accf5d2d6 /core/channel.go | |
parent | 2323d3ffe6e66ea7ffa40be232aa54c1d24c8651 (diff) |
Generator improvements
- all objects are now sorted alphabetically for more consistent output
- unions now have constructor generated
- log level for warnings was changed to debug
- GetAllMessages renamed to GetRegisteredMessages
Change-Id: I976453004a2fd8b6cb95ca0acfcef56913bf8d38
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'core/channel.go')
-rw-r--r-- | core/channel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/channel.go b/core/channel.go index a7d95fe..5b69eab 100644 --- a/core/channel.go +++ b/core/channel.go @@ -31,7 +31,7 @@ var ( // MessageCodec provides functionality for decoding binary data to generated API messages. type MessageCodec interface { - //EncodeMsg encodes message into binary data. + // EncodeMsg encodes message into binary data. EncodeMsg(msg api.Message, msgID uint16) ([]byte, error) // DecodeMsg decodes binary-encoded data of a message into provided Message structure. DecodeMsg(data []byte, msg api.Message) error |