diff options
author | Michael Muré <batolettre@gmail.com> | 2018-08-01 02:15:40 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-08-01 02:17:06 +0200 |
commit | c875d40e631f83507b602807480be96dae05fc85 (patch) | |
tree | a81b0909eda009acb395d936d1e2bf09e03cff3a /bug/snapshot.go | |
parent | 2f88c28c59ce0480e64dfba6d820dc6f7589a6cf (diff) | |
download | git-bug-c875d40e631f83507b602807480be96dae05fc85.tar.gz |
termui: add a view to display a bug
Diffstat (limited to 'bug/snapshot.go')
-rw-r--r-- | bug/snapshot.go | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bug/snapshot.go b/bug/snapshot.go index 5058b3f7..9001d2c7 100644 --- a/bug/snapshot.go +++ b/bug/snapshot.go @@ -10,10 +10,12 @@ import ( type Snapshot struct { id string - Status Status `json:"status"` - Title string `json:"title"` - Comments []Comment `json:"comments"` - Labels []Label `json:"labels"` + Status Status + Title string + Comments []Comment + Labels []Label + Author Person + CreatedAt time.Time Operations []Operation } |