forked from External/grumble
Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
This commit is contained in:
parent
503d18a608
commit
eb02aadf56
11 changed files with 76 additions and 76 deletions
|
|
@ -40,7 +40,7 @@ const (
|
|||
UDPMessageVoiceOpus
|
||||
)
|
||||
|
||||
// Returns the numeric value identifying the message type of msg on the wire.
|
||||
// MessageType returns the numeric value identifying the message type of msg on the wire.
|
||||
func MessageType(msg interface{}) uint16 {
|
||||
switch msg.(type) {
|
||||
case *Version:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue