Update for Go 1.

This commit is contained in:
Mikkel Krautz 2012-02-06 22:16:16 +01:00
parent 4114a83d64
commit e46a65109f
31 changed files with 901 additions and 202 deletions

View file

@ -93,6 +93,6 @@ func MessageType(msg interface{}) uint16 {
return MessageRequestBlob
case *ServerConfig:
return MessageServerConfig
}
}
panic("unknown type")
}