aboutsummaryrefslogblamecommitdiffstats
path: root/operations/operations.go
blob: 348f8cc821419a972383dfe6ae7ebf072ea1560b (plain) (tree)
1
2
3
4
5
6
7
8

                  


                                            


                                                                                 




                                                               
 
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{})
}