aboutsummaryrefslogtreecommitdiffstats
path: root/operations/operations.go
blob: 348f8cc821419a972383dfe6ae7ebf072ea1560b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package operations

import (
	"github.com/MichaelMure/git-bug/bug"
)

// Package initialisation used to register operation's type for (de)serialization
func init() {
	bug.Register(bug.CreateOp, CreateOperation{})
	bug.Register(bug.SetTitleOp, SetTitleOperation{})
	bug.Register(bug.AddCommentOp, AddCommentOperation{})
	bug.Register(bug.SetStatusOp, SetStatusOperation{})
	bug.Register(bug.LabelChangeOp, LabelChangeOperation{})
}