Rename message.message to message.content

This commit is contained in:
Ken-Håvard Lieng 2017-04-17 22:36:37 +02:00
parent c4609574c7
commit ebee2746d6
11 changed files with 55 additions and 55 deletions

View file

@ -60,11 +60,11 @@ type Quit struct {
Reason string `json:"reason,omitempty"`
}
type Chat struct {
type Message struct {
Server string `json:"server"`
From string `json:"from,omitempty"`
To string `json:"to,omitempty"`
Message string `json:"message"`
Content string `json:"content"`
}
type Topic struct {