git-bug/bug/operations/operations.go

13 lines
320 B
Go
Raw Normal View History

package operations
import "encoding/gob"
// Package initialisation used to register operation's type for (de)serialization
func init() {
gob.Register(AddCommentOperation{})
gob.Register(CreateOperation{})
gob.Register(SetTitleOperation{})
2018-07-17 20:28:37 +03:00
gob.Register(SetStatusOperation{})
2018-07-18 17:41:09 +03:00
gob.Register(LabelChangeOperation{})
}