diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-14 23:02:49 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-14 23:02:49 +0200 |
commit | 13d7b3480b0f555294edf2c52a886321bbd9f5e8 (patch) | |
tree | 4f20f658d85327acabe2cc052db5872e7eba63f3 /bug/comment.go | |
parent | fd4fa96c19dbb9b140726c48ff66d1f79646019a (diff) | |
download | git-bug-13d7b3480b0f555294edf2c52a886321bbd9f5e8.tar.gz |
use a Unix timestamp (int64) for the time instead of golang's Time that cause trouble for serialisation
Diffstat (limited to 'bug/comment.go')
-rw-r--r-- | bug/comment.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bug/comment.go b/bug/comment.go index 2261f6de..09cd49bd 100644 --- a/bug/comment.go +++ b/bug/comment.go @@ -1,12 +1,10 @@ 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 + Time int64 } |