Export returns the label as a map for JSON output.
()
| 163 | |
| 164 | // Export returns the label as a map for JSON output. |
| 165 | func (l DiscussionLabel) Export() map[string]any { |
| 166 | return map[string]any{ |
| 167 | "id": l.ID, |
| 168 | "name": l.Name, |
| 169 | "color": l.Color, |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | // DiscussionComment represents a comment or reply on a discussion. |
| 174 | type DiscussionComment struct { |
nothing calls this directly
no outgoing calls
no test coverage detected