owncast/message.go

11 lines
183 B
Go
Raw Normal View History

2020-05-24 02:57:49 +02:00
package main
type Message struct {
Author string `json:"author"`
Body string `json:"body"`
}
func (self *Message) String() string {
return self.Author + " says " + self.Body
}