Export returns the reaction group as a map for JSON output.
()
| 263 | |
| 264 | // Export returns the reaction group as a map for JSON output. |
| 265 | func (rg ReactionGroup) Export() map[string]interface{} { |
| 266 | return map[string]interface{}{ |
| 267 | "content": rg.Content, |
| 268 | "totalCount": rg.TotalCount, |
| 269 | } |
| 270 | } |
| 271 | |
| 272 | // Domain-level filter constants for state. |
| 273 | const ( |
no outgoing calls
no test coverage detected