aboutsummaryrefslogtreecommitdiffstats
path: root/bug/snapshot.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-13 16:13:40 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-13 16:13:40 +0200
commitbc12fee58e8bd86672793ae37d9f924158afb482 (patch)
treeb6506af647a5e6d3d8c053f2b284a3adc335d35b /bug/snapshot.go
parente02294c8f372156945bbc43d70d4d36a07a3fbcf (diff)
downloadgit-bug-bc12fee58e8bd86672793ae37d9f924158afb482.tar.gz
create the Bug structure
Diffstat (limited to 'bug/snapshot.go')
-rw-r--r--bug/snapshot.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/bug/snapshot.go b/bug/snapshot.go
new file mode 100644
index 00000000..8828c337
--- /dev/null
+++ b/bug/snapshot.go
@@ -0,0 +1,8 @@
+package bug
+
+// Snapshot is a compiled form of the Bug data structure used for storage and merge
+type Snapshot struct {
+ Title string
+ Comments []Comment
+ Labels []Label
+}