mirror of
https://github.com/owncast/owncast.git
synced 2024-11-21 20:28:15 +03:00
10 lines
183 B
Go
10 lines
183 B
Go
package main
|
|
|
|
type Message struct {
|
|
Author string `json:"author"`
|
|
Body string `json:"body"`
|
|
}
|
|
|
|
func (self *Message) String() string {
|
|
return self.Author + " says " + self.Body
|
|
}
|