diff options
author | Michael Muré <batolettre@gmail.com> | 2018-08-02 23:37:49 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-08-02 23:37:49 +0200 |
commit | d8f89726fec3822d7d1dd42c52f478f37003b534 (patch) | |
tree | 567e97ee605ef3a286e42e11535fa6516321e743 /bug/comment.go | |
parent | ed8f7eca9a8e0d1c448a7cc6240e2b7e357cf354 (diff) | |
download | git-bug-d8f89726fec3822d7d1dd42c52f478f37003b534.tar.gz |
implement media hosting in git for comments + API for the webui
Diffstat (limited to 'bug/comment.go')
-rw-r--r-- | bug/comment.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bug/comment.go b/bug/comment.go index c0c07076..0b4fd6ad 100644 --- a/bug/comment.go +++ b/bug/comment.go @@ -1,6 +1,7 @@ package bug import ( + "github.com/MichaelMure/git-bug/util" "github.com/dustin/go-humanize" "time" ) @@ -8,6 +9,7 @@ import ( type Comment struct { Author Person Message string + Files []util.Hash // 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. |