diff options
Diffstat (limited to 'bug/timeline.go')
-rw-r--r-- | bug/timeline.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bug/timeline.go b/bug/timeline.go index a84c45e4..306ffa9e 100644 --- a/bug/timeline.go +++ b/bug/timeline.go @@ -3,6 +3,7 @@ package bug import ( "strings" + "github.com/MichaelMure/git-bug/identity" "github.com/MichaelMure/git-bug/util/git" ) @@ -15,7 +16,7 @@ type TimelineItem interface { type CommentHistoryStep struct { // The author of the edition, not necessarily the same as the author of the // original comment - Author Person + Author identity.Interface // The new message Message string UnixTime Timestamp @@ -24,7 +25,7 @@ type CommentHistoryStep struct { // CommentTimelineItem is a TimelineItem that holds a Comment and its edition history type CommentTimelineItem struct { hash git.Hash - Author Person + Author identity.Interface Message string Files []git.Hash CreatedAt Timestamp |