good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit c9409047 authored by Anmol Sethi's avatar Anmol Sethi
Browse files

Improve MessageType godoc

parent 6448e271
Branches
Tags
No related merge requests found
......@@ -9,9 +9,9 @@ type MessageType int
// MessageType constants.
const (
// MessageText is for UTF-8 encoded text messages like JSON.
MessageText MessageType = MessageType(opText)
MessageText MessageType = iota + 1
// MessageBinary is for binary messages like Protobufs.
MessageBinary MessageType = MessageType(opBinary)
MessageBinary
)
// Above I've explicitly included the types of the constants for stringer.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment