(comment bug.Comment)
| 58 | } |
| 59 | |
| 60 | func NewBugComment(comment bug.Comment) BugComment { |
| 61 | return BugComment{ |
| 62 | Id: comment.CombinedId().String(), |
| 63 | HumanId: comment.CombinedId().Human(), |
| 64 | Author: NewIdentity(comment.Author), |
| 65 | Message: comment.Message, |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | type BugExcerpt struct { |
| 70 | Id string `json:"id"` |
no test coverage detected