aboutsummaryrefslogtreecommitdiffstats
path: root/bug/bug.go
blob: ac99c164780bcdb6eed5698f57ea941e088106d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
}

//func (bug Bug) Check() error {
//	if bug.Operations.Len() == 0 {
//		return "Empty operation log"
//	}
//
//	if bug.Operations.Elems()
//
//	return true
//}