aboutsummaryrefslogtreecommitdiffstats
path: root/bug/snapshot.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-08-01 02:15:40 +0200
committerMichael Muré <batolettre@gmail.com>2018-08-01 02:17:06 +0200
commitc875d40e631f83507b602807480be96dae05fc85 (patch)
treea81b0909eda009acb395d936d1e2bf09e03cff3a /bug/snapshot.go
parent2f88c28c59ce0480e64dfba6d820dc6f7589a6cf (diff)
downloadgit-bug-c875d40e631f83507b602807480be96dae05fc85.tar.gz
termui: add a view to display a bug
Diffstat (limited to 'bug/snapshot.go')
-rw-r--r--bug/snapshot.go10
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
}