Example #1
0
func displayMessageData(msg flowdock.Message) {
	fmt.Println("MSG:", *msg.ID, *msg.Event, msg.Content())
}
Example #2
0
func displayMessageData(msg flowdock.Message, room string) {
	events := []string{"user-edit", "file", "activity.user", "mail", "zendesk", "twitter", "tag-change"}
	if stringNotInSlice(*msg.Event, events) {
		fmt.Println("\nMSG:", room, *msg.ID, *msg.Event, msg.Content())
	}
}