diff options
Diffstat (limited to 'bug/comment.go')
-rw-r--r-- | bug/comment.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bug/comment.go b/bug/comment.go index f7727709..2261f6de 100644 --- a/bug/comment.go +++ b/bug/comment.go @@ -1,6 +1,12 @@ package bug +import "time" + type Comment struct { Author Person Message string + + // Creation time of the comment. + // Should be used only for human display, never for ordering as we can't rely on it in a distributed system. + Time time.Time } |