diff options
Diffstat (limited to 'bug/bug.go')
-rw-r--r-- | bug/bug.go | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -1,7 +1,18 @@ package bug -type Bug struct { +// Snapshot is a compiled form of the Bug data structure used for storage and merge +type Snapshot struct { Title string Comments []Comment + Labels []Label } +//func (bug Bug) Check() error { +// if bug.Operations.Len() == 0 { +// return "Empty operation log" +// } +// +// if bug.Operations.Elems() +// +// return true +//} |