owncast/message.go
Gabe Kangas cc48f86b85 WIP
2020-05-23 17:57:49 -07:00

11 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
}