Message represents a pubsub message
| 8 | |
| 9 | // Message represents a pubsub message |
| 10 | type Message struct { |
| 11 | SenderID string |
| 12 | Content string |
| 13 | msg *pubsub.Message |
| 14 | } |
| 15 | |
| 16 | // GetFrom returns the sender ID |
| 17 | func (m *Message) GetFrom() string { |
nothing calls this directly
no outgoing calls
no test coverage detected